Class TimeoutIoException

All Implemented Interfaces:
Serializable, ErrorCodeAccessor, Trap

public class TimeoutIoException
extends AbstractIOException
The TimeoutIoException is thrown whenever in I/O related timeout occurs. The TimeoutIoException is a sub-class of the IOException.
See Also:
Serialized Form
  • Constructor Details

    • TimeoutIoException

      public TimeoutIoException​(long aTimeoutInMs, String aMessage, String aErrorCode)
      Parameters:
      aTimeoutInMs - The timeout in milliseconds causing the exception.
    • TimeoutIoException

      public TimeoutIoException​(long aTimeoutInMs, String aMessage, Throwable aCause, String aErrorCode)
      Parameters:
      aTimeoutInMs - The timeout in milliseconds causing the exception.
    • TimeoutIoException

      public TimeoutIoException​(long aTimeoutInMs, String aMessage, Throwable aCause)
      Parameters:
      aTimeoutInMs - The timeout in milliseconds causing the exception.
    • TimeoutIoException

      public TimeoutIoException​(long aTimeoutInMs, String aMessage)
      Parameters:
      aTimeoutInMs - The timeout in milliseconds causing the exception.
    • TimeoutIoException

      public TimeoutIoException​(long aTimeoutInMs, Throwable aCause, String aErrorCode)
      Parameters:
      aTimeoutInMs - The timeout in milliseconds causing the exception.
    • TimeoutIoException

      public TimeoutIoException​(long aTimeoutInMs, Throwable aCause)
      Parameters:
      aTimeoutInMs - The timeout in milliseconds causing the exception.
  • Method Details

    • getTimeoutInMs

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