com.rapplogic.xbee.api
Class XBeeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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

Constructor Summary
XBeeException()
           
XBeeException(java.lang.Exception cause)
           
XBeeException(java.lang.String message)
           
XBeeException(java.lang.String message, java.lang.Exception e)
           
 
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
 

Constructor Detail

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)
Method Detail

getCause

public java.lang.Exception getCause()
Overrides:
getCause in class java.lang.Throwable

setCause

public void setCause(java.lang.Exception cause)