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
Base 
Exception for signaling errors in user custom code.- See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionUserCodeExecutionException(String message) UserCodeExecutionException(String message, Throwable cause) UserCodeExecutionException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)  - 
Method Summary
Modifier and TypeMethodDescriptionbooleanReports whether when thrown warrants repeat execution.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
- 
Constructor Details
- 
UserCodeExecutionException
 - 
UserCodeExecutionException
 - 
UserCodeExecutionException
 - 
UserCodeExecutionException
 
 - 
 - 
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. 
 -