public class SCardError
Class used by the errors callbacks when an error occurred It contains some information about how the error happened
Constructor and Description |
---|
SCardError(SCardError.ErrorCodes code,
java.lang.String detail,
boolean isFatal)
Class used by the errors callbacks when an error occurred
It contains some information about how the error happened
|
Modifier and Type | Method and Description |
---|---|
SCardError.ErrorCodes |
getCode()
The error code
|
java.lang.String |
getDetail()
Detailed information about the error
|
java.lang.String |
getMessage()
Message corresponding to the ErrorCodes
|
boolean |
isFatal()
If the error was critical,
|
public SCardError(SCardError.ErrorCodes code, java.lang.String detail, boolean isFatal)
Class used by the errors callbacks when an error occurred It contains some information about how the error happened
code
- The error codedetail
- Detailed information about the errorisFatal
- If the error was critical, the device was lost and disconnectedpublic java.lang.String getMessage()
Message corresponding to the ErrorCodes
public SCardError.ErrorCodes getCode()
The error code
public java.lang.String getDetail()
Detailed information about the error
public boolean isFatal()
If the error was critical,
the device was lost and disconnected