Class TimeoutIOException
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
ConstructorsConstructorDescriptionTimeoutIOException(long aTimeoutMillis, String aMessage) Instantiates the classTimeoutIOException.TimeoutIOException(long aTimeoutMillis, String aMessage, String aErrorCode) Instantiates the classTimeoutIOException.TimeoutIOException(long aTimeoutMillis, String aMessage, Throwable aCause) Instantiates the classTimeoutIOException.TimeoutIOException(long aTimeoutMillis, String aMessage, Throwable aCause, String aErrorCode) Instantiates the classTimeoutIOException.TimeoutIOException(long aTimeoutMillis, Throwable aCause) Instantiates the classTimeoutIOException.TimeoutIOException(long aTimeoutMillis, Throwable aCause, String aErrorCode) Instantiates the classTimeoutIOException. -
Method Summary
Methods inherited from class org.refcodes.exception.AbstractIOException
getErrorCodeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.refcodes.exception.Trap
getPatternArguments, toLocalizedMessage, toMessage, toMessage, toMessage, toShortLocalizedMessage, toShortMessage
-
Constructor Details
-
TimeoutIOException
Instantiates the classTimeoutIOException.- Parameters:
aTimeoutMillis- the timeout in ms- See Also:
-
TimeoutIOException
public TimeoutIOException(long aTimeoutMillis, String aMessage, Throwable aCause, String aErrorCode) Instantiates the classTimeoutIOException.- Parameters:
aTimeoutMillis- the timeout in ms- See Also:
-
TimeoutIOException
Instantiates the classTimeoutIOException.- Parameters:
aTimeoutMillis- the timeout in ms- See Also:
-
TimeoutIOException
Instantiates the classTimeoutIOException.- Parameters:
aTimeoutMillis- the timeout in ms- See Also:
-
TimeoutIOException
Instantiates the classTimeoutIOException.- Parameters:
aTimeoutMillis- the timeout in ms- See Also:
-
TimeoutIOException
Instantiates the classTimeoutIOException.- Parameters:
aTimeoutMillis- the timeout in ms- See Also:
-
-
Method Details
-
getTimeoutInMs
public long getTimeoutInMs()The timeout attribute in milliseconds.- Returns:
- An long integer with the timeout in milliseconds.
-