cern.cmw
Class NoConnection
java.lang.Object
java.lang.Throwable
java.lang.Exception
cern.cmw.CmwException
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. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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.