public class OpenTimeoutException extends OpenException implements org.refcodes.mixin.TimeoutInMsAccessor
Openable.open()
throws such an exception.
ATTENTION: This Exception
does not provide a dedicated
ConnectionAccessor
as a LinkComponent
does 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.
org.refcodes.mixin.TimeoutInMsAccessor.TimeoutInMsMutator, org.refcodes.mixin.TimeoutInMsAccessor.TimeoutInMsProperty
org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B extends org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B>>, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeMutator, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeProperty
Constructor and Description |
---|
OpenTimeoutException(long aTimeoutInMs,
String message)
Instantiates a new open timeout exception.
|
OpenTimeoutException(long aTimeoutInMs,
String aMessage,
String aErrorCode)
Instantiates a new open timeout exception.
|
OpenTimeoutException(long aTimeoutInMs,
String message,
Throwable cause)
Instantiates a new open timeout exception.
|
OpenTimeoutException(long aTimeoutInMs,
String aMessage,
Throwable aCause,
String aErrorCode)
Instantiates a new open timeout exception.
|
OpenTimeoutException(long aTimeoutInMs,
Throwable cause)
Instantiates a new open timeout exception.
|
OpenTimeoutException(long aTimeoutInMs,
Throwable aCause,
String aErrorCode)
Instantiates a new open timeout exception.
|
Modifier and Type | Method and Description |
---|---|
long |
getTimeoutInMs() |
getErrorCode
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public OpenTimeoutException(long aTimeoutInMs, String aMessage, String aErrorCode)
aTimeoutInMs
- the a timeout in msaMessage
- the a messageaErrorCode
- the a error codepublic OpenTimeoutException(long aTimeoutInMs, String aMessage, Throwable aCause, String aErrorCode)
aTimeoutInMs
- the a timeout in msaMessage
- the a messageaCause
- the a causeaErrorCode
- the a error codepublic OpenTimeoutException(long aTimeoutInMs, String message, Throwable cause)
aTimeoutInMs
- the a timeout in msmessage
- the messagecause
- the causepublic OpenTimeoutException(long aTimeoutInMs, String message)
aTimeoutInMs
- the a timeout in msmessage
- the messagepublic OpenTimeoutException(long aTimeoutInMs, Throwable aCause, String aErrorCode)
aTimeoutInMs
- the a timeout in msaCause
- the a causeaErrorCode
- the a error codepublic OpenTimeoutException(long aTimeoutInMs, Throwable cause)
aTimeoutInMs
- the a timeout in mscause
- the causeCopyright © 2017. All rights reserved.