Exception UnknownException (2.51.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
Name Description
message String
cause Throwable
statusCode StatusCode
retryable boolean

UnknownException(Throwable cause, StatusCode statusCode, boolean retryable)

public UnknownException(Throwable cause, StatusCode statusCode, boolean retryable)
Parameters
Name Description
cause Throwable
statusCode StatusCode
retryable boolean

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

public UnknownException(Throwable cause, StatusCode statusCode, boolean retryable, ErrorDetails errorDetails)
Parameters
Name Description
cause Throwable
statusCode StatusCode
retryable boolean
errorDetails ErrorDetails