|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.glite.ce.monitorapij.sensor.SensorException
Exception raised by a Sensor
.
Field Summary | |
static int |
ERROR
|
static int |
WARNING
|
Constructor Summary | |
SensorException()
Constructor from superclass Exception . |
|
SensorException(int exceptionID,
java.lang.String msg)
Constructor with a specified message String and exceptionID int. |
|
SensorException(java.lang.String msg)
Constructor with a specified message String. |
Method Summary | |
int |
getExceptionID()
Get the exceptionID int. |
void |
setExceptionID(int exceptionID)
Set the exceptionID int. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, 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 |
Field Detail |
public static final int ERROR
public static final int WARNING
Constructor Detail |
public SensorException()
Exception
.
public SensorException(java.lang.String msg)
msg
- The String specifying the message.public SensorException(int exceptionID, java.lang.String msg)
exceptionID
- The int specifying the type of exception (ERROR = 0; WARNING = 1).msg
- The String specifying the message.Method Detail |
public int getExceptionID()
public void setExceptionID(int exceptionID)
exceptionID
- The exceptionID int to set (ERROR = 0; WARNING = 1).
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |