com.jscape.inet.telnet

## Class TelnetTaskTimeoutException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - com.jscape.inet.telnet.TelnetException
      - - com.jscape.inet.telnet.TelnetTaskTimeoutException

- All Implemented Interfaces:
    java.io.Serializable

      public class TelnetTaskTimeoutException
      extends TelnetException

  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 either the start prompt or end prompt.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TelnetTaskTimeoutException(TelnetTask task)` Constructs a new TelnetTaskTimeoutException instance

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `TelnetTask` | `getTask()` Gets the TelnetTask that timed out

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### TelnetTaskTimeoutException

          public TelnetTaskTimeoutException(TelnetTask task)

      Constructs a new TelnetTaskTimeoutException instance
      Parameters:
        `task` - the TelnetTask that timed out
      See Also:
        `TelnetTask`

  - ### Method Detail

    - #### getTask

          public TelnetTask getTask()

      Gets the TelnetTask that timed out
      Returns:
        the TelnetTask
      See Also:
        `TelnetTask`

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