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

Public Member Functions

ErrorCode getErrorReason ()
 
Parameter getParameter ()
 
 InternalException ()
 
 InternalException (String message)
 
 InternalException (String message, Throwable cause)
 
void setErrorReason (ErrorCode errorReason)
 
void setParameter (Parameter param)
 
- 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 ()
 

Detailed Description

An unexpected error occurred.

Constructor & Destructor Documentation

◆ InternalException() [1/3]

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

Constructor.

◆ InternalException() [2/3]

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

Constructor.

Parameters
messagea message describing the cause of the error

◆ InternalException() [3/3]

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

Constructor.

Parameters
messagea message describing the cause of the error
causethe underlying cause of the error

Member Function Documentation

◆ getParameter()

Parameter com.hidglobal.ia.service.exception.InternalException.getParameter ( )
inline

Returns the causing parameter only when reason is RequiredParameterException

Returns
The causing parameter.

◆ setParameter()

void com.hidglobal.ia.service.exception.InternalException.setParameter ( Parameter  param)
inline

Sets the causing parameter only when reason is RequiredParameterException

Parameters
paramThe causing parameter.