Class UnknownHandleRuntimeException

  • All Implemented Interfaces:
    java.io.Serializable, HandleAccessor, org.refcodes.exception.ErrorCodeAccessor, org.refcodes.exception.Trap

    public class UnknownHandleRuntimeException
    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
    • Constructor Summary

      Constructors 
      Constructor Description
      UnknownHandleRuntimeException​(java.lang.Object aHandle, java.lang.String message)
      Instantiates a new unknown handle runtime exception.
      UnknownHandleRuntimeException​(java.lang.Object aHandle, java.lang.String aMessage, java.lang.String aErrorCode)
      Instantiates a new unknown handle runtime exception.
      UnknownHandleRuntimeException​(java.lang.Object aHandle, java.lang.String message, java.lang.Throwable cause)
      Instantiates a new unknown handle runtime exception.
      UnknownHandleRuntimeException​(java.lang.Object aHandle, java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)
      Instantiates a new unknown handle runtime exception.
      UnknownHandleRuntimeException​(java.lang.Object aHandle, java.lang.Throwable cause)
      Instantiates a new unknown handle runtime exception.
      UnknownHandleRuntimeException​(java.lang.Object aHandle, java.lang.Throwable aCause, java.lang.String aErrorCode)
      Instantiates a new unknown handle runtime exception.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getHandle()
      Gets the handle.
      • Methods inherited from class org.refcodes.exception.AbstractRuntimeException

        getErrorCode
      • 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

      • UnknownHandleRuntimeException

        public UnknownHandleRuntimeException​(java.lang.Object aHandle,
                                             java.lang.String aMessage,
                                             java.lang.String aErrorCode)
        Instantiates a new unknown handle runtime exception.
        Parameters:
        aHandle - the handle
        aMessage - the message
        aErrorCode - the error code
      • UnknownHandleRuntimeException

        public UnknownHandleRuntimeException​(java.lang.Object aHandle,
                                             java.lang.String aMessage,
                                             java.lang.Throwable aCause,
                                             java.lang.String aErrorCode)
        Instantiates a new unknown handle runtime exception.
        Parameters:
        aHandle - the handle
        aMessage - the message
        aCause - the cause
        aErrorCode - the error code
      • UnknownHandleRuntimeException

        public UnknownHandleRuntimeException​(java.lang.Object aHandle,
                                             java.lang.String message,
                                             java.lang.Throwable cause)
        Instantiates a new unknown handle runtime exception.
        Parameters:
        aHandle - the handle
        message - the message
        cause - the cause
      • UnknownHandleRuntimeException

        public UnknownHandleRuntimeException​(java.lang.Object aHandle,
                                             java.lang.String message)
        Instantiates a new unknown handle runtime exception.
        Parameters:
        aHandle - the handle
        message - the message
      • UnknownHandleRuntimeException

        public UnknownHandleRuntimeException​(java.lang.Object aHandle,
                                             java.lang.Throwable aCause,
                                             java.lang.String aErrorCode)
        Instantiates a new unknown handle runtime exception.
        Parameters:
        aHandle - the handle
        aCause - the cause
        aErrorCode - the error code
      • UnknownHandleRuntimeException

        public UnknownHandleRuntimeException​(java.lang.Object aHandle,
                                             java.lang.Throwable cause)
        Instantiates a new unknown handle runtime exception.
        Parameters:
        aHandle - the handle
        cause - the cause
    • Method Detail

      • getHandle

        public java.lang.Object getHandle()
        Gets the handle.
        Specified by:
        getHandle in interface HandleAccessor
        Returns:
        the handle