Package org.refcodes.component
Class OpenTimeoutException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.refcodes.component.OpenException
-
- org.refcodes.component.OpenTimeoutException
-
- All Implemented Interfaces:
org.refcodes.mixin.TimeoutInMsAccessor
public class OpenTimeoutException extends OpenException implements org.refcodes.mixin.TimeoutInMsAccessor
Thrown in case opening or accessing an open line (connection, junction, link) caused timeout problems. Usually a method similar toOpenable.open()throws such an exception.ATTENTION: This
Exceptiondoes not provide a dedicatedConnectionAccessoras aLinkComponentdoes not necessary provide dedicated connection information, it may be hard wired to another software system's hot spot or similar with the option of opening or closing.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.exception.ErrorCodeAccessor
org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B extends org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B>>, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeMutator, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeProperty
-
Nested classes/interfaces inherited from class org.refcodes.component.OpenException
OpenException.OpenRuntimeException
-
-
Constructor Summary
Constructors Constructor Description OpenTimeoutException(long aTimeoutInMs, java.lang.String message)Instantiates a new open timeout exception.OpenTimeoutException(long aTimeoutInMs, java.lang.String aMessage, java.lang.String aErrorCode)Instantiates a new open timeout exception.OpenTimeoutException(long aTimeoutInMs, java.lang.String message, java.lang.Throwable cause)Instantiates a new open timeout exception.OpenTimeoutException(long aTimeoutInMs, java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)Instantiates a new open timeout exception.OpenTimeoutException(long aTimeoutInMs, java.lang.Throwable cause)Instantiates a new open timeout exception.OpenTimeoutException(long aTimeoutInMs, java.lang.Throwable aCause, java.lang.String aErrorCode)Instantiates a new open timeout exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetTimeoutInMs()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class org.refcodes.component.OpenException
getErrorCode
-
-
-
-
Constructor Detail
-
OpenTimeoutException
public OpenTimeoutException(long aTimeoutInMs, java.lang.String aMessage, java.lang.String aErrorCode)Instantiates a new open timeout exception.- Parameters:
aTimeoutInMs- the timeout in msaMessage- the messageaErrorCode- the error code
-
OpenTimeoutException
public OpenTimeoutException(long aTimeoutInMs, java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)Instantiates a new open timeout exception.- Parameters:
aTimeoutInMs- the timeout in msaMessage- the messageaCause- the causeaErrorCode- the error code
-
OpenTimeoutException
public OpenTimeoutException(long aTimeoutInMs, java.lang.String message, java.lang.Throwable cause)Instantiates a new open timeout exception.- Parameters:
aTimeoutInMs- the timeout in msmessage- the messagecause- the cause
-
OpenTimeoutException
public OpenTimeoutException(long aTimeoutInMs, java.lang.String message)Instantiates a new open timeout exception.- Parameters:
aTimeoutInMs- the timeout in msmessage- the message
-
OpenTimeoutException
public OpenTimeoutException(long aTimeoutInMs, java.lang.Throwable aCause, java.lang.String aErrorCode)Instantiates a new open timeout exception.- Parameters:
aTimeoutInMs- the timeout in msaCause- the causeaErrorCode- the error code
-
OpenTimeoutException
public OpenTimeoutException(long aTimeoutInMs, java.lang.Throwable cause)Instantiates a new open timeout exception.- Parameters:
aTimeoutInMs- the timeout in mscause- the cause
-
-