Class JevException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.agentscope.extensions.judge.jev.JevException
- All Implemented Interfaces:
Serializable
Client, transport, validation, and API error for Jev System One calls.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionJevException(String message) JevException(String message, Integer statusCode, String responseBody, boolean retryable) JevException(String message, Throwable cause) JevException(String message, Throwable cause, Integer statusCode, String responseBody, boolean retryable) -
Method Summary
Modifier and TypeMethodDescriptionThe raw HTTP error body, ornull.The HTTP status, ornullwhen the request failed before a response was received.booleanWhether the configured retry policy may retry this error.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
JevException
-
JevException
-
JevException
-
JevException
-
-
Method Details
-
getStatusCode
The HTTP status, ornullwhen the request failed before a response was received. -
getResponseBody
The raw HTTP error body, ornull. -
isRetryable
public boolean isRetryable()Whether the configured retry policy may retry this error.
-