cern.cmw
Class InternalException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by cern.cmw.CmwException
              extended by cern.cmw.InternalException
All Implemented Interfaces:
Serializable

public class InternalException
extends CmwException

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.

See Also:
Serialized Form

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

InternalException

public InternalException()
Constructs an InternalException; message defaults to null.


InternalException

public InternalException(String message)
Constructs an InternalException with the specified error message.



Copyright © 2007 CERN. All Rights Reserved.