HID APPROVE SDK  5.9
HID Approve SDK for Android
com.hidglobal.ia.service.exception.RemoteException Class Reference
Inheritance diagram for com.hidglobal.ia.service.exception.RemoteException:
com.hidglobal.ia.service.exception.BaseException com.hidglobal.ia.service.exception.ServerVersionException

Public Member Functions

Throwable getCause ()
 
String getMessage ()
 
 RemoteException ()
 
 RemoteException (String message)
 
 RemoteException (String message, Throwable cause)
 
 RemoteException (ErrorCode errorCode)
 
 RemoteException (ErrorCode errorCode, String message)
 
 RemoteException (ErrorCode errorCode, String message, Throwable cause)
 
- Public Member Functions inherited from com.hidglobal.ia.service.exception.BaseException
 BaseException (ErrorCode errorCode)
 
 BaseException (ErrorCode errorCode, String message)
 
 BaseException (ErrorCode errorCode, String message, Throwable cause)
 
 BaseException (ErrorCode errorCode, Throwable cause)
 
ErrorCode getErrorCode ()
 

Public Attributes

Throwable detail
 

Detailed Description

Execution of a remote method call failed. A RemoteException is the common superclass for a number of communication-related exceptions that may occur during the execution of a remote method call.

Constructor & Destructor Documentation

◆ RemoteException() [1/6]

com.hidglobal.ia.service.exception.RemoteException.RemoteException ( )
inline

Constructs a RemoteException.

◆ RemoteException() [2/6]

com.hidglobal.ia.service.exception.RemoteException.RemoteException ( String  message)
inline

Constructs a RemoteException with the specified detail message.

Parameters
messagethe detail message

◆ RemoteException() [3/6]

com.hidglobal.ia.service.exception.RemoteException.RemoteException ( String  message,
Throwable  cause 
)
inline

Constructs a RemoteException with the specified detail message and cause. This constructor sets the detail field to the specified Throwable.

Parameters
messagethe detail message
causethe cause

◆ RemoteException() [4/6]

com.hidglobal.ia.service.exception.RemoteException.RemoteException ( ErrorCode  errorCode)
inline

Constructs a RemoteException.

Parameters
errorCodeRemote exception error code

◆ RemoteException() [5/6]

com.hidglobal.ia.service.exception.RemoteException.RemoteException ( ErrorCode  errorCode,
String  message 
)
inline

Constructs a RemoteException with the specified detail message.

Parameters
errorCodeRemote exception error code
messagethe detail message

◆ RemoteException() [6/6]

com.hidglobal.ia.service.exception.RemoteException.RemoteException ( ErrorCode  errorCode,
String  message,
Throwable  cause 
)
inline

Constructs a RemoteException with the specified detail message and cause. This constructor sets the detail field to the specified Throwable.

Parameters
errorCodeRemote exception error code
messagethe detail message
causethe cause

Member Function Documentation

◆ getCause()

Throwable com.hidglobal.ia.service.exception.RemoteException.getCause ( )
inline

Returns the cause of this exception. This method returns the value of the detail field.

Returns
the cause, which may be null.
Since
1.4

◆ getMessage()

String com.hidglobal.ia.service.exception.RemoteException.getMessage ( )
inline

Returns the detail message, including the message from the cause, if any, of this exception.

Returns
the detail message

Member Data Documentation

◆ detail

Throwable com.hidglobal.ia.service.exception.RemoteException.detail

The cause of the remote exception.

This field predates the general-purpose exception chaining facility. The Throwable#getCause() method is now the preferred means of obtaining this information.