com.adventnet.nms.startclient
Class ClientConnectionException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--com.adventnet.nms.startclient.ClientConnectionException
- All Implemented Interfaces:
- java.io.Serializable
- public class ClientConnectionException
- extends java.lang.RuntimeException
Exception thrown while trying to connect to the WebNMS server from the
client.
- See Also:
- Serialized Form
|
Method Summary |
java.lang.Exception |
getException()
The actual exception which is being wrapped in this exception.This method
returns the actual exception only when the constructor with the Exception
argument is used otherwise returns null. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ClientConnectionException
public ClientConnectionException()
- The default Constructor
ClientConnectionException
public ClientConnectionException(java.lang.String msg)
- Constructor which accepts a message for the exception.
- Parameters:
msg - the exception message.
ClientConnectionException
public ClientConnectionException(java.lang.String msg,
java.lang.Exception type)
- Constructor which accepts a message and the actual Exception thrown.
- Parameters:
msg - the exception message.type - the actual type of exception thrown ex.,java.io.ConnectException,
java.io.MalFormedURLException etc.,This type is returned from the getException
method.- See Also:
getException
getException
public java.lang.Exception getException()
- The actual exception which is being wrapped in this exception.This method
returns the actual exception only when the constructor with the Exception
argument is used otherwise returns null.
- Returns:
- Exception the actual exception being wrapped.