|
||||||||||
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.InternalException
public class InternalException
Thrown to indicate an internal error in the controls middleware.
Reasons for the error might be lack of resources (for example, memory) on the client or on the server side, or unavailability of some common CMW services (naming, database). An InternalException can also be thrown to indicate an unexpected exception raised in a device access method implementation.
An InternalException provides a string describing the error. This is used as the Java Exception message, available via the method getMessage.
Constructor Summary | |
---|---|
InternalException()
Constructs an InternalException; message defaults to null . |
|
InternalException(String message)
Constructs an InternalException with the specified error message. |
Method Summary |
---|
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 |
Constructor Detail |
---|
public InternalException()
null
.
public InternalException(String message)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |