com.rapplogic.xbee.api
Class XBeeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.rapplogic.xbee.api.XBeeException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- XBeeTimeoutException
public class XBeeException
- extends java.lang.Exception
I usually detest checked exceptions but given this is a public api, it is reasonable to
notify users what they can expect.
- Author:
- andrew
- See Also:
- Serialized Form
Method Summary |
java.lang.Exception |
getCause()
|
void |
setCause(java.lang.Exception cause)
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
XBeeException
public XBeeException(java.lang.String message)
XBeeException
public XBeeException(java.lang.String message,
java.lang.Exception e)
XBeeException
public XBeeException()
XBeeException
public XBeeException(java.lang.Exception cause)
getCause
public java.lang.Exception getCause()
- Overrides:
getCause
in class java.lang.Throwable
setCause
public void setCause(java.lang.Exception cause)