Class ComponentRuntimeException.ComponentHandleRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.refcodes.exception.AbstractRuntimeException
org.refcodes.component.ComponentRuntimeException
org.refcodes.component.ComponentRuntimeException.ComponentHandleRuntimeException
- All Implemented Interfaces:
Serializable, HandleAccessor, ErrorCodeAccessor, Trap
- Direct Known Subclasses:
HandleTimeoutRuntimeException, IllegalHandleStateChangeRuntimeException, UnknownHandleRuntimeException, UnsupportedHandleOperationRuntimeException
- Enclosing class:
ComponentRuntimeException
protected abstract static class ComponentRuntimeException.ComponentHandleRuntimeException
extends ComponentRuntimeException
implements HandleAccessor
This exception is the base exception for handle related runtime
exceptions.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class ComponentRuntimeException
ComponentRuntimeException.ComponentHandleRuntimeExceptionNested classes/interfaces inherited from interface ErrorCodeAccessor
ErrorCodeAccessor.ErrorCodeBuilder<B>, ErrorCodeAccessor.ErrorCodeMutator, ErrorCodeAccessor.ErrorCodePropertyNested classes/interfaces inherited from interface HandleAccessor
HandleAccessor.HandleMutator<H>, HandleAccessor.HandleProperty<H> -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionComponentHandleRuntimeException(Object aHandle, String aMessage) Instantiates the classComponentRuntimeException.ComponentHandleRuntimeException.ComponentHandleRuntimeException(Object aHandle, String aMessage, String aErrorCode) Instantiates the classComponentRuntimeException.ComponentHandleRuntimeException.ComponentHandleRuntimeException(Object aHandle, String aMessage, Throwable aCause) Instantiates the classComponentRuntimeException.ComponentHandleRuntimeException.ComponentHandleRuntimeException(Object aHandle, String aMessage, Throwable aCause, String aErrorCode) Instantiates the classComponentRuntimeException.ComponentHandleRuntimeException.ComponentHandleRuntimeException(Object aHandle, Throwable aCause) Instantiates the classComponentRuntimeException.ComponentHandleRuntimeException.ComponentHandleRuntimeException(Object aHandle, Throwable aCause, String aErrorCode) Instantiates the classComponentRuntimeException.ComponentHandleRuntimeException. -
Method Summary
Methods inherited from class AbstractRuntimeException
getErrorCode, getMessageMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Trap
toLocalizedMessage, toMessage, toMessage, toMessage, toShortLocalizedMessage, toShortMessage
-
Field Details
-
_handle
-
-
Constructor Details
-
ComponentHandleRuntimeException
Instantiates the classComponentRuntimeException.ComponentHandleRuntimeException.- Parameters:
aHandle- The handle involved in this exception.- See Also:
-
ComponentHandleRuntimeException
public ComponentHandleRuntimeException(Object aHandle, String aMessage, Throwable aCause, String aErrorCode) Instantiates the classComponentRuntimeException.ComponentHandleRuntimeException.- Parameters:
aHandle- The handle involved in this exception.- See Also:
-
ComponentHandleRuntimeException
Instantiates the classComponentRuntimeException.ComponentHandleRuntimeException.- Parameters:
aHandle- The handle involved in this exception.- See Also:
-
ComponentHandleRuntimeException
Instantiates the classComponentRuntimeException.ComponentHandleRuntimeException.- Parameters:
aHandle- The handle involved in this exception.- See Also:
-
ComponentHandleRuntimeException
Instantiates the classComponentRuntimeException.ComponentHandleRuntimeException.- Parameters:
aHandle- The handle involved in this exception.- See Also:
-
ComponentHandleRuntimeException
Instantiates the classComponentRuntimeException.ComponentHandleRuntimeException.- Parameters:
aHandle- The handle involved in this exception.- See Also:
-
-
Method Details
-
getHandle
Retrieves the handle from the handle property.- Specified by:
getHandlein interfaceHandleAccessor- Returns:
- The handle stored by the handle property.
-
getPatternArguments
- Specified by:
getPatternArgumentsin interfaceTrap
-