|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
cern.cmw.CmwException
cern.cmw.IOError
public class IOError
Indicates an error in the low level I/O software/firmware/hardware used in the device servers.
Each IOError provides several kinds of information:
null
if none) which can be
used to provide additional error information.
Data
,
Serialized FormConstructor Summary | |
---|---|
IOError(String errorCategory,
int errorCode,
String message)
Constructs an IOError exception; details defaults to null . |
|
IOError(String errorCategory,
int errorCode,
String message,
Data details)
Constructs a fully-specified IOError exception. |
Method Summary | |
---|---|
String |
getCategory()
Returns the category string for this exception. |
int |
getCode()
Returns the error code for this exception. |
Data |
getDetails()
Returns additional error information for this exception, packed into a Data container, or null if the details are not available. |
String |
toString()
Returns a string representation of this IOError. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IOError(String errorCategory, int errorCode, String message, Data details)
public IOError(String errorCategory, int errorCode, String message)
null
.
Method Detail |
---|
public String getCategory()
public int getCode()
public Data getDetails()
null
if the details are not available.
public String toString()
cern.cmw.IOError: ["category" - "code"] "message"Note that
details
data is not included in the string:
you can use Data.toString()
to stringify this field separately.
toString
in class Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |