Package org.refcodes.component
Class HandleTimeoutRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.refcodes.exception.AbstractRuntimeException
-
- org.refcodes.component.ComponentRuntimeException
-
- org.refcodes.component.HandleTimeoutRuntimeException
-
- All Implemented Interfaces:
Serializable
,HandleAccessor
public class HandleTimeoutRuntimeException extends ComponentRuntimeException
This exception is thrown in case a handle was provided which was unknown to the invoked component.- 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 interface org.refcodes.component.HandleAccessor
HandleAccessor.HandleMutator<H>, HandleAccessor.HandleProperty<H>
-
-
Constructor Summary
Constructors Constructor Description HandleTimeoutRuntimeException(Object aHandle, String message)
Instantiates a new handle timeout runtime exception.HandleTimeoutRuntimeException(Object aHandle, String aMessage, String aErrorCode)
Instantiates a new handle timeout runtime exception.HandleTimeoutRuntimeException(Object aHandle, String message, Throwable cause)
Instantiates a new handle timeout runtime exception.HandleTimeoutRuntimeException(Object aHandle, String aMessage, Throwable aCause, String aErrorCode)
Instantiates a new handle timeout runtime exception.HandleTimeoutRuntimeException(Object aHandle, Throwable cause)
Instantiates a new handle timeout runtime exception.HandleTimeoutRuntimeException(Object aHandle, Throwable aCause, String aErrorCode)
Instantiates a new handle timeout runtime exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getHandle()
Gets the handle.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
HandleTimeoutRuntimeException
public HandleTimeoutRuntimeException(Object aHandle, String aMessage, String aErrorCode)
Instantiates a new handle timeout runtime exception.- Parameters:
aHandle
- the handleaMessage
- the messageaErrorCode
- the error code
-
HandleTimeoutRuntimeException
public HandleTimeoutRuntimeException(Object aHandle, String aMessage, Throwable aCause, String aErrorCode)
Instantiates a new handle timeout runtime exception.- Parameters:
aHandle
- the handleaMessage
- the messageaCause
- the causeaErrorCode
- the error code
-
HandleTimeoutRuntimeException
public HandleTimeoutRuntimeException(Object aHandle, String message, Throwable cause)
Instantiates a new handle timeout runtime exception.- Parameters:
aHandle
- the handlemessage
- the messagecause
- the cause
-
HandleTimeoutRuntimeException
public HandleTimeoutRuntimeException(Object aHandle, String message)
Instantiates a new handle timeout runtime exception.- Parameters:
aHandle
- the handlemessage
- the message
-
HandleTimeoutRuntimeException
public HandleTimeoutRuntimeException(Object aHandle, Throwable aCause, String aErrorCode)
Instantiates a new handle timeout runtime exception.- Parameters:
aHandle
- the handleaCause
- the causeaErrorCode
- the error code
-
-
Method Detail
-
getHandle
public Object getHandle()
Gets the handle.- Specified by:
getHandle
in interfaceHandleAccessor
- Returns:
- the handle
-
-