Class TimeoutIOException

All Implemented Interfaces:
Serializable, ErrorCodeAccessor, Trap

public class TimeoutIOException extends AbstractIOException
Thrown in case opening or accessing an open line (connection, junction, link) caused timeout problems.
See Also:
  • Constructor Details

    • TimeoutIOException

      public TimeoutIOException(long aTimeoutMillis, String aMessage, String aErrorCode)
      Instantiates a new open timeout exception.
      Parameters:
      aTimeoutMillis - the timeout in ms
      aMessage - the message
      aErrorCode - the error code
    • TimeoutIOException

      public TimeoutIOException(long aTimeoutMillis, String aMessage, Throwable aCause, String aErrorCode)
      Instantiates a new open timeout exception.
      Parameters:
      aTimeoutMillis - the timeout in ms
      aMessage - the message
      aCause - the cause
      aErrorCode - the error code
    • TimeoutIOException

      public TimeoutIOException(long aTimeoutMillis, String message, Throwable cause)
      Instantiates a new open timeout exception.
      Parameters:
      aTimeoutMillis - the timeout in ms
      message - the message
      cause - the cause
    • TimeoutIOException

      public TimeoutIOException(long aTimeoutMillis, String message)
      Instantiates a new open timeout exception.
      Parameters:
      aTimeoutMillis - the timeout in ms
      message - the message
    • TimeoutIOException

      public TimeoutIOException(long aTimeoutMillis, Throwable aCause, String aErrorCode)
      Instantiates a new open timeout exception.
      Parameters:
      aTimeoutMillis - the timeout in ms
      aCause - the cause
      aErrorCode - the error code
    • TimeoutIOException

      public TimeoutIOException(long aTimeoutMillis, Throwable cause)
      Instantiates a new open timeout exception.
      Parameters:
      aTimeoutMillis - the timeout in ms
      cause - the cause
  • Method Details

    • getTimeoutInMs

      public long getTimeoutInMs()
      The timeout attribute in milliseconds.
      Returns:
      An long integer with the timeout in milliseconds.