com.ibutton.jib
Class JibCommandInterpreterException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--com.ibutton.jib.JibCommandInterpreterException
- public class JibCommandInterpreterException
- extends java.lang.RuntimeException
This class is an exception class. It is thrown on an invalid return code from the iButton with Java.
- See Also:
- Serialized Form
|
Method Summary |
int |
getErrorNumber()
Get the reason for error. |
java.lang.String |
toString()
Returns a generic string value as the reason. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace,
getLocalizedMessage,
getMessage,
printStackTrace,
printStackTrace,
printStackTrace |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
JibCommandInterpreterException
public JibCommandInterpreterException()
- Create an instance of this class with no reason value.
JibCommandInterpreterException
public JibCommandInterpreterException(int i)
- Create an instance of this class with a reason value.
- Parameters:
i - the reason value
JibCommandInterpreterException
public JibCommandInterpreterException(java.lang.String s)
- Construct an instance of this class with a string for the reason.
- Parameters:
s - the reason value for this instance of this class.
toString
public java.lang.String toString()
- Returns a generic string value as the reason.
- Returns:
- String the reason for exception.
- Overrides:
- toString in class java.lang.Throwable
getErrorNumber
public int getErrorNumber()
- Get the reason for error.
- Returns:
- int the error number used when creating this class.