cern.cmw
Class NoConnection

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

public class NoConnection
extends CmwException

Thrown to indicate that a remote device could not be contacted (for example, because the device server is down).

A NoConnection exception 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
NoConnection()
          Constructs a NoConnection exception; message defaults to null.
NoConnection(String message)
          Constructs a NoConnection exception 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

NoConnection

public NoConnection()
Constructs a NoConnection exception; message defaults to null.


NoConnection

public NoConnection(String message)
Constructs a NoConnection exception with the specified error message.



Copyright © 2007 CERN. All Rights Reserved.