Class UserCodeRemoteSystemException

All Implemented Interfaces:
Serializable

public class UserCodeRemoteSystemException extends UserCodeExecutionException
A UserCodeExecutionException that signals an error with a remote system. Examples of such errors include an HTTP 5XX error or gRPC INTERNAL (13) error.
See Also:
  • Constructor Details

    • UserCodeRemoteSystemException

      public UserCodeRemoteSystemException(String message)
    • UserCodeRemoteSystemException

      public UserCodeRemoteSystemException(String message, Throwable cause)
    • UserCodeRemoteSystemException

      public UserCodeRemoteSystemException(Throwable cause)
    • UserCodeRemoteSystemException

      public UserCodeRemoteSystemException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
  • Method Details

    • shouldRepeat

      public boolean shouldRepeat()
      Reports that remote system errors should be repeated. These may be transient errors of a remote API service that resolve in time. Thus requests should be repeated..
      Overrides:
      shouldRepeat in class UserCodeExecutionException