Package org.refcodes.component
Class IllegalHandleStateChangeRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.refcodes.exception.AbstractRuntimeException
-
- org.refcodes.component.ComponentRuntimeException
-
- org.refcodes.component.IllegalHandleStateChangeRuntimeException
-
- All Implemented Interfaces:
HandleAccessor
public class IllegalHandleStateChangeRuntimeException extends ComponentRuntimeException
This exception is thrown in case a handle was provided whose reference does not support a given operation.- 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 IllegalHandleStateChangeRuntimeException(java.lang.Object aHandle, java.lang.String message)
Instantiates a new illegale handle state change runtime exception.IllegalHandleStateChangeRuntimeException(java.lang.Object aHandle, java.lang.String aMessage, java.lang.String aErrorCode)
Instantiates a new illegale handle state change runtime exception.IllegalHandleStateChangeRuntimeException(java.lang.Object aHandle, java.lang.String message, java.lang.Throwable cause)
Instantiates a new illegale handle state change runtime exception.IllegalHandleStateChangeRuntimeException(java.lang.Object aHandle, java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new illegale handle state change runtime exception.IllegalHandleStateChangeRuntimeException(java.lang.Object aHandle, java.lang.Throwable cause)
Instantiates a new illegale handle state change runtime exception.IllegalHandleStateChangeRuntimeException(java.lang.Object aHandle, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new illegale handle state change runtime exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getHandle()
Gets the handle.
-
-
-
Constructor Detail
-
IllegalHandleStateChangeRuntimeException
public IllegalHandleStateChangeRuntimeException(java.lang.Object aHandle, java.lang.String aMessage, java.lang.String aErrorCode)
Instantiates a new illegale handle state change runtime exception.- Parameters:
aHandle
- the handleaMessage
- the messageaErrorCode
- the error code
-
IllegalHandleStateChangeRuntimeException
public IllegalHandleStateChangeRuntimeException(java.lang.Object aHandle, java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new illegale handle state change runtime exception.- Parameters:
aHandle
- the handleaMessage
- the messageaCause
- the causeaErrorCode
- the error code
-
IllegalHandleStateChangeRuntimeException
public IllegalHandleStateChangeRuntimeException(java.lang.Object aHandle, java.lang.String message, java.lang.Throwable cause)
Instantiates a new illegale handle state change runtime exception.- Parameters:
aHandle
- the handlemessage
- the messagecause
- the cause
-
IllegalHandleStateChangeRuntimeException
public IllegalHandleStateChangeRuntimeException(java.lang.Object aHandle, java.lang.String message)
Instantiates a new illegale handle state change runtime exception.- Parameters:
aHandle
- the handlemessage
- the message
-
IllegalHandleStateChangeRuntimeException
public IllegalHandleStateChangeRuntimeException(java.lang.Object aHandle, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new illegale handle state change runtime exception.- Parameters:
aHandle
- the handleaCause
- the causeaErrorCode
- the error code
-
IllegalHandleStateChangeRuntimeException
public IllegalHandleStateChangeRuntimeException(java.lang.Object aHandle, java.lang.Throwable cause)
Instantiates a new illegale handle state change runtime exception.- Parameters:
aHandle
- the handlecause
- the cause
-
-
Method Detail
-
getHandle
public java.lang.Object getHandle()
Gets the handle.- Specified by:
getHandle
in interfaceHandleAccessor
- Returns:
- the handle
-
-