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 according exception.
      Parameters:
      aTimeoutMillis - the timeout in ms
      aMessage - The aMessage describing this exception.
      aErrorCode - The error code identifying this exception.
    • TimeoutIOException

      public TimeoutIOException(long aTimeoutMillis, String aMessage, Throwable aCause, String aErrorCode)
      Instantiates a new according exception.
      Parameters:
      aTimeoutMillis - the timeout in ms
      aMessage - The aMessage describing this exception.
      aCause - The Throwable (Exception) causing this exception.
      aErrorCode - The error code identifying this exception.
    • TimeoutIOException

      public TimeoutIOException(long aTimeoutMillis, String aMessage, Throwable aCause)
      Instantiates a new according exception.
      Parameters:
      aTimeoutMillis - the timeout in ms
      aMessage - The aMessage describing this exception.
      aCause - The Throwable (Exception) causing this exception.
    • TimeoutIOException

      public TimeoutIOException(long aTimeoutMillis, String aMessage)
      Instantiates a new according exception.
      Parameters:
      aTimeoutMillis - the timeout in ms
      aMessage - The aMessage describing this exception.
    • TimeoutIOException

      public TimeoutIOException(long aTimeoutMillis, Throwable aCause, String aErrorCode)
      Instantiates a new according exception.
      Parameters:
      aTimeoutMillis - the timeout in ms
      aCause - The Throwable (Exception) causing this exception.
      aErrorCode - The error code identifying this exception.
    • TimeoutIOException

      public TimeoutIOException(long aTimeoutMillis, Throwable aCause)
      Instantiates a new according exception.
      Parameters:
      aTimeoutMillis - the timeout in ms
      aCause - The Throwable (Exception) causing this exception.
  • Method Details

    • getTimeoutInMs

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