Class UserCodeQuotaException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.beam.io.requestresponse.UserCodeExecutionException
org.apache.beam.io.requestresponse.UserCodeQuotaException
- All Implemented Interfaces:
Serializable
Extends
UserCodeQuotaException
to allow the user custom code to specifically signal a
Quota or API overuse related error.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUserCodeQuotaException
(String message) UserCodeQuotaException
(String message, Throwable cause) UserCodeQuotaException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) UserCodeQuotaException
(Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Reports that quota errors 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
-
UserCodeQuotaException
-
UserCodeQuotaException
-
UserCodeQuotaException
-
UserCodeQuotaException
-
-
Method Details
-
shouldRepeat
public boolean shouldRepeat()Reports that quota errors should be repeated.- Overrides:
shouldRepeat
in classUserCodeExecutionException
-