java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.refcodes.exception.AbstractRuntimeException
org.refcodes.component.ComponentRuntimeException
org.refcodes.component.UnknownHandleRuntimeException
- All Implemented Interfaces:
Serializable,HandleAccessor,org.refcodes.exception.ErrorCodeAccessor,org.refcodes.exception.Trap
This exception is thrown in case a handle was provided which was unknown to
the invoked component.
- See Also:
-
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.ErrorCodePropertyNested classes/interfaces inherited from interface org.refcodes.component.HandleAccessor
HandleAccessor.HandleMutator<H>, HandleAccessor.HandleProperty<H> -
Constructor Summary
ConstructorsConstructorDescriptionUnknownHandleRuntimeException(Object aHandle, String aMessage) Instantiates a new unknown handle runtime exception.UnknownHandleRuntimeException(Object aHandle, String aMessage, String aErrorCode) Instantiates a new unknown handle runtime exception.UnknownHandleRuntimeException(Object aHandle, String aMessage, Throwable aCause) Instantiates a new unknown handle runtime exception.UnknownHandleRuntimeException(Object aHandle, String aMessage, Throwable aCause, String aErrorCode) Instantiates a new unknown handle runtime exception.UnknownHandleRuntimeException(Object aHandle, Throwable aCause) Instantiates a new unknown handle runtime exception.UnknownHandleRuntimeException(Object aHandle, Throwable aCause, String aErrorCode) Instantiates a new unknown handle runtime exception. -
Method Summary
Methods inherited from class org.refcodes.exception.AbstractRuntimeException
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
toLocalizedMessage, toMessage, toShortLocalizedMessage, toShortMessage
-
Constructor Details
-
UnknownHandleRuntimeException
Instantiates a new unknown handle runtime exception.- Parameters:
aHandle- the handleaMessage- The aMessage describing this exception.aErrorCode- The error code identifying this exception.
-
UnknownHandleRuntimeException
public UnknownHandleRuntimeException(Object aHandle, String aMessage, Throwable aCause, String aErrorCode) Instantiates a new unknown handle runtime exception. -
UnknownHandleRuntimeException
Instantiates a new unknown handle runtime exception. -
UnknownHandleRuntimeException
Instantiates a new unknown handle runtime exception.- Parameters:
aHandle- the handleaMessage- The aMessage describing this exception.
-
UnknownHandleRuntimeException
Instantiates a new unknown handle runtime exception. -
UnknownHandleRuntimeException
Instantiates a new unknown handle runtime exception.
-
-
Method Details
-
getHandle
Gets the handle.- Specified by:
getHandlein interfaceHandleAccessor- Returns:
- the handle
-