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
Thrown in case opening or accessing an open line (connection, junction, link)
caused timeout problems.
- See Also:
-
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
ConstructorDescriptionTimeoutIOException
(long aTimeoutMillis, String message) Instantiates a new open timeout exception.TimeoutIOException
(long aTimeoutMillis, String aMessage, String aErrorCode) Instantiates a new open timeout exception.TimeoutIOException
(long aTimeoutMillis, String message, Throwable cause) Instantiates a new open timeout exception.TimeoutIOException
(long aTimeoutMillis, String aMessage, Throwable aCause, String aErrorCode) Instantiates a new open timeout exception.TimeoutIOException
(long aTimeoutMillis, Throwable cause) Instantiates a new open timeout exception.TimeoutIOException
(long aTimeoutMillis, Throwable aCause, String aErrorCode) Instantiates a new open timeout exception. -
Method Summary
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 Details
-
TimeoutIOException
Instantiates a new open timeout exception.- Parameters:
aTimeoutMillis
- the timeout in msaMessage
- the messageaErrorCode
- 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 msaMessage
- the messageaCause
- the causeaErrorCode
- the error code
-
TimeoutIOException
Instantiates a new open timeout exception.- Parameters:
aTimeoutMillis
- the timeout in msmessage
- the messagecause
- the cause
-
TimeoutIOException
Instantiates a new open timeout exception.- Parameters:
aTimeoutMillis
- the timeout in msmessage
- the message
-
TimeoutIOException
Instantiates a new open timeout exception.- Parameters:
aTimeoutMillis
- the timeout in msaCause
- the causeaErrorCode
- the error code
-
TimeoutIOException
Instantiates a new open timeout exception.- Parameters:
aTimeoutMillis
- the timeout in mscause
- the cause
-
-
Method Details
-
getTimeoutInMs
public long getTimeoutInMs()The timeout attribute in milliseconds.- Returns:
- An long integer with the timeout in milliseconds.
-