cdev
Class DeviceError

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--cdev.DeviceError

public class DeviceError
extends java.lang.Exception

See Also:
Serialized Form

Constructor Summary
DeviceError(DeviceEvent event, int code, java.lang.String message)
           
 
Method Summary
 java.lang.String getCategory()
           
 int getCode()
           
 Data getContext()
           
 DeviceEvent getEvent()
           
 java.lang.String getMessage()
           
 java.lang.String getName()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeviceError

public DeviceError(DeviceEvent event,
                   int code,
                   java.lang.String message)
Method Detail

getEvent

public DeviceEvent getEvent()

getCode

public int getCode()

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable

getCategory

public java.lang.String getCategory()

getName

public java.lang.String getName()

getContext

public Data getContext()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable