Class UserCodeTimeoutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.beam.io.requestresponse.UserCodeExecutionException
org.apache.beam.io.requestresponse.UserCodeTimeoutException
- All Implemented Interfaces:
Serializable
An extension of
UserCodeQuotaException
to specifically signal a user code timeout.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUserCodeTimeoutException
(String message) UserCodeTimeoutException
(String message, Throwable cause) UserCodeTimeoutException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Reports that timeouts should be repeated.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UserCodeTimeoutException
-
UserCodeTimeoutException
-
UserCodeTimeoutException
-
UserCodeTimeoutException
-
-
Method Details
-
shouldRepeat
public boolean shouldRepeat()Reports that timeouts should be repeated. A remote API service may be intermittently unavailable, thus warranting this type of error to be repeated.- Overrides:
shouldRepeat
in classUserCodeExecutionException
-