Exception UnknownException (2.36.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
cause
statusCode
retryable

UnknownException(Throwable cause, StatusCode statusCode, boolean retryable)

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

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

  public 
  
 UnknownException 
 ( 
 Throwable 
  
 cause 
 , 
  
 StatusCode 
  
 statusCode 
 , 
  
 boolean 
  
 retryable 
 , 
  
 ErrorDetails 
  
 errorDetails 
 ) 
 
Parameters
Name
Description
cause
statusCode
retryable
errorDetails
Create a Mobile Website
View Site in Mobile | Classic
Share by: