com.maverick.ssh
Class SshIOException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by com.maverick.ssh.SshIOException
All Implemented Interfaces:
java.io.Serializable

public class SshIOException
extends java.io.IOException

This class is provided so that when a channel InputStream/OutputStream interface has to throw an IOException; the real SshException cause can be retrieved.

Author:
Lee David Painter
See Also:
Serialized Form

Constructor Summary
SshIOException(SshException realEx)
          Construct the exception with the real exception.
 
Method Summary
 SshException getRealException()
          Get the real exception
 
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

SshIOException

public SshIOException(SshException realEx)
Construct the exception with the real exception.

Parameters:
realEx -
Method Detail

getRealException

public SshException getRealException()
Get the real exception

Returns:
SshException


Copyright © 2003-2008 SSHTools LTD. All Rights Reserved.