public class UserCodeQuotaException extends UserCodeExecutionException
UserCodeQuotaException
to allow the user custom code to specifically signal a
Quota or API overuse related error.Constructor and Description |
---|
UserCodeQuotaException(java.lang.String message) |
UserCodeQuotaException(java.lang.String message,
java.lang.Throwable cause) |
UserCodeQuotaException(java.lang.String message,
java.lang.Throwable cause,
boolean enableSuppression,
boolean writableStackTrace) |
UserCodeQuotaException(java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldRepeat()
Reports that quota errors should be repeated.
|
public UserCodeQuotaException(java.lang.String message)
public UserCodeQuotaException(java.lang.String message, java.lang.Throwable cause)
public UserCodeQuotaException(java.lang.Throwable cause)
public UserCodeQuotaException(java.lang.String message, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)
public boolean shouldRepeat()
shouldRepeat
in class UserCodeExecutionException