public class ReaderException
extends java.lang.Exception
| Constructor and Description |
|---|
ReaderException(ResultCode resultCode)
Initialize a ReaderException with a specific ResultCode.
|
ReaderException(ResultCode resultCode,
java.lang.String msg)
Initialize a ReaderException with a specific ResultCode and message.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMessage()
Get the human-readable message describing the exception.
|
ResultCode |
getResultCode()
Get fault and motion results.
|
java.lang.String |
toString() |
public ReaderException(ResultCode resultCode, java.lang.String msg)
resultCode - The result code that describes the exception.msg - A human-readable message describing the exception.public ReaderException(ResultCode resultCode)
resultCode - The result code that describes the exception.public ResultCode getResultCode()
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic java.lang.String toString()
toString in class java.lang.Throwable