public class TransmitException extends CommunicationException
XBeeTransmitStatus#SUCCESS after sending an XBee API packet.CommunicationException, 
XBeeTransmitStatus, 
Serialized Form| Constructor and Description | 
|---|
TransmitException(String message,
                 Throwable cause,
                 XBeeTransmitStatus transmitStatus)
Creates a  
TransmitException with the specified message, cause and 
 XBeeTransmitStatus indicating the status of the transmission. | 
TransmitException(String message,
                 XBeeTransmitStatus transmitStatus)
Creates a  
TransmitException with the specified message and 
 XBeeTransmitStatus indicating the status of the transmission. | 
TransmitException(XBeeTransmitStatus transmitStatus)
Creates a  
TransmitException with the provided 
 XBeeTransmitStatus indicating the status of the transmission and 
  as its error detail message. | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getMessage()  | 
XBeeTransmitStatus | 
getTransmitStatus()
Returns the  
XBeeTransmitStatus of the exception containing 
 information about the transmission. | 
String | 
getTransmitStatusMessage()
Returns the text containing the status of the transmission from 
 the exception. 
 | 
getCauseaddSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic TransmitException(String message, Throwable cause, XBeeTransmitStatus transmitStatus)
TransmitException with the specified message, cause and 
 XBeeTransmitStatus indicating the status of the transmission.message - The associated message.cause - The cause of this exception.transmitStatus - The status of the transmission.Throwable, 
XBeeTransmitStatuspublic TransmitException(String message, XBeeTransmitStatus transmitStatus)
TransmitException with the specified message and 
 XBeeTransmitStatus indicating the status of the transmission.message - The associated message.transmitStatus - The status of the transmission.XBeeTransmitStatuspublic TransmitException(XBeeTransmitStatus transmitStatus)
TransmitException with the provided 
 XBeeTransmitStatus indicating the status of the transmission and 
  as its error detail message.transmitStatus - The status of the transmission.XBeeTransmitStatuspublic String getMessage()
getMessage in class Throwablepublic XBeeTransmitStatus getTransmitStatus()
XBeeTransmitStatus of the exception containing 
 information about the transmission.XBeeTransmitStatuspublic String getTransmitStatusMessage()
© Copyright 2014–2014 Digi International Inc. All rights reserved.