Secure iNet Factory

com.jscape.inet.ssh.connection
Class ConnectionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by com.jscape.inet.ssh.connection.ConnectionException
All Implemented Interfaces:
java.io.Serializable

public class ConnectionException
extends java.io.IOException

The connection service error.

Version:
1.0
Author:
Alex Usun
See Also:
Serialized Form

Constructor Summary
ConnectionException()
          Creates a new exception instance.
ConnectionException(java.lang.Exception reason)
          Creates a new exception instance with the specified cause.
ConnectionException(java.lang.String message)
          Creates a new exception instance with the specified message.
 
Method Summary
 java.lang.Exception getReason()
          Obtains the exception cause.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConnectionException

public ConnectionException()
Creates a new exception instance.


ConnectionException

public ConnectionException(java.lang.String message)
Creates a new exception instance with the specified message.

Parameters:
message - the error message

ConnectionException

public ConnectionException(java.lang.Exception reason)
Creates a new exception instance with the specified cause.

Parameters:
reason - the exception cause
Method Detail

getReason

public java.lang.Exception getReason()
Obtains the exception cause.

Returns:
Exception the exception cause

Secure iNet Factory

Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved