Secure iNet Factory

com.jscape.inet.ssh
Class SshTaskTimeoutException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.jscape.inet.ssh.SshException
              extended by com.jscape.inet.ssh.SshTaskTimeoutException
All Implemented Interfaces:
ExceptionWrapper, java.io.Serializable

public class SshTaskTimeoutException
extends SshException

A subclass of TelnetException, this exception is thrown by a TelnetSession instance when using the TelnetSession#send or TelnetSession#sendWait methods and the TelnetTask exceeds the maximum defined timeout waiting for the end prompt.

See Also:
Serialized Form

Constructor Summary
SshTaskTimeoutException(SshTask task)
          Constructs a new SshTaskTimeoutException instance
 
Method Summary
 SshTask getTask()
          Gets the SshTask that timed out
 
Methods inherited from class com.jscape.inet.ssh.SshException
getException
 
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

SshTaskTimeoutException

public SshTaskTimeoutException(SshTask task)
Constructs a new SshTaskTimeoutException instance

Parameters:
task - the SshTask that timed out
See Also:
SshTask
Method Detail

getTask

public SshTask getTask()
Gets the SshTask that timed out

Returns:
the SshTask
See Also:
SshTask

Secure iNet Factory

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