Class UserCodeExecutionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.beam.io.requestresponse.UserCodeExecutionException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
UserCodeQuotaException, UserCodeRemoteSystemException, UserCodeTimeoutException

public class UserCodeExecutionException extends Exception
Base Exception for signaling errors in user custom code.
See Also:
  • Constructor Details

    • UserCodeExecutionException

      public UserCodeExecutionException(String message)
    • UserCodeExecutionException

      public UserCodeExecutionException(String message, Throwable cause)
    • UserCodeExecutionException

      public UserCodeExecutionException(Throwable cause)
    • UserCodeExecutionException

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

    • shouldRepeat

      public boolean shouldRepeat()
      Reports whether when thrown warrants repeat execution. Some errors are not necessarily due to user code such as quota or remote service errors and may warrant repeating.