public class InternalException extends ApiException
Exception thrown due to internal errors. Means some invariants expected by underlying system has been broken. If you see one of these errors, something is very broken.
Constructors
InternalException(String message, Throwable cause, StatusCode statusCode, boolean retryable)
public InternalException(String message, Throwable cause, StatusCode statusCode, boolean retryable)
Parameters | |
---|---|
Name | Description |
message |
String |
cause |
Throwable |
statusCode |
StatusCode |
retryable |
boolean |
InternalException(Throwable cause, StatusCode statusCode, boolean retryable)
public InternalException(Throwable cause, StatusCode statusCode, boolean retryable)
Parameters | |
---|---|
Name | Description |
cause |
Throwable |
statusCode |
StatusCode |
retryable |
boolean |
InternalException(Throwable cause, StatusCode statusCode, boolean retryable, ErrorDetails errorDetails)
public InternalException(Throwable cause, StatusCode statusCode, boolean retryable, ErrorDetails errorDetails)
Parameters | |
---|---|
Name | Description |
cause |
Throwable |
statusCode |
StatusCode |
retryable |
boolean |
errorDetails |
ErrorDetails |