Exception UnknownException (2.18.0)

public class UnknownException extends ApiException

Exception thrown due to an unknown error. An example of where this error may be returned is if a Status value received from another address space belongs to an error-space that is not known in this address space. Also errors raised by APIs that do not return enough error information may be converted to this error.

Constructors

UnknownException(String message, Throwable cause, StatusCode statusCode, boolean retryable)

public UnknownException(String message, Throwable cause, StatusCode statusCode, boolean retryable)
Parameters
NameDescription
messageString
causeThrowable
statusCodeStatusCode
retryableboolean

UnknownException(Throwable cause, StatusCode statusCode, boolean retryable)

public UnknownException(Throwable cause, StatusCode statusCode, boolean retryable)
Parameters
NameDescription
causeThrowable
statusCodeStatusCode
retryableboolean

UnknownException(Throwable cause, StatusCode statusCode, boolean retryable, ErrorDetails errorDetails)

public UnknownException(Throwable cause, StatusCode statusCode, boolean retryable, ErrorDetails errorDetails)
Parameters
NameDescription
causeThrowable
statusCodeStatusCode
retryableboolean
errorDetailsErrorDetails