Secure iNet Factory

com.jscape.inet.ssh.transport
Class TransportException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by com.jscape.inet.ssh.transport.TransportException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CompressionException, InvalidHostKeyException, KeyExchangeException, KeyFormatException, MacException

public class TransportException
extends java.io.IOException

Represents common SSH transport error.

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

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

Constructor Detail

TransportException

public TransportException()
Creates a new error instance.


TransportException

public TransportException(java.lang.String message)
Creates a new error instance with the specified message.

Parameters:
message - error message

TransportException

public TransportException(java.lang.Exception reason)
Creates a new error instance containing reason exception. This constructor is used for domain exception convertion.

Parameters:
reason - exception cause

Secure iNet Factory

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