- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.refcodes.exception.AbstractIOException
-
- org.refcodes.exception.TimeoutIoException
-
- All Implemented Interfaces:
Serializable
,ErrorCodeAccessor
,Trap
public class TimeoutIoException extends AbstractIOException
TheTimeoutIoException
is thrown whenever in I/O related timeout occurs. TheTimeoutIoException
is a sub-class of theIOException
.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.exception.ErrorCodeAccessor
ErrorCodeAccessor.ErrorCodeBuilder<B extends ErrorCodeAccessor.ErrorCodeBuilder<B>>, ErrorCodeAccessor.ErrorCodeMutator, ErrorCodeAccessor.ErrorCodeProperty
-
-
Constructor Summary
Constructors Constructor Description TimeoutIoException(long aTimeoutInMs, String aMessage)
TimeoutIoException(long aTimeoutInMs, String aMessage, String aErrorCode)
TimeoutIoException(long aTimeoutInMs, String aMessage, Throwable aCause)
TimeoutIoException(long aTimeoutInMs, String aMessage, Throwable aCause, String aErrorCode)
TimeoutIoException(long aTimeoutInMs, Throwable aCause)
TimeoutIoException(long aTimeoutInMs, Throwable aCause, String aErrorCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getTimeoutInMs()
The timeout attribute in milliseconds.-
Methods inherited from class org.refcodes.exception.AbstractIOException
getErrorCode
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
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.
-
-