com.jpeterson.x10
Class InterruptedTransmissionException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.jpeterson.x10.InterruptedTransmissionException

public class InterruptedTransmissionException
extends java.lang.Exception

Indicates that a transmission was interrupted by an unsolicted event. The exception contains the event code that identifies what type of event interrupted the transmission.

See Also:
Serialized Form

Constructor Summary
InterruptedTransmissionException(byte eventCode)
          Create a new exception.
 
Method Summary
 byte getEventCode()
          Retrieve the event code of the event that interrupted the transmission.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InterruptedTransmissionException

public InterruptedTransmissionException(byte eventCode)
Create a new exception.
Parameters:
eventCode - Byte that identifies the event that interrupted the transmission.
Method Detail

getEventCode

public byte getEventCode()
Retrieve the event code of the event that interrupted the transmission.
Returns:
Byte that identifies the event that interrupted the transmission.