Class ConfigureException

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

    public class ConfigureException
    extends InitializeException
    implements ContextAccessor
    Thrown in case initializing a component caused problems. Usually a method similar to ""initialize(...)" throws such an exception.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ConfigureException​(java.lang.Object aContext, java.lang.String message)
      Instantiates a new configure exception.
      ConfigureException​(java.lang.Object aContext, java.lang.String aMessage, java.lang.String aErrorCode)
      Instantiates a new configure exception.
      ConfigureException​(java.lang.Object aContext, java.lang.String message, java.lang.Throwable cause)
      Instantiates a new configure exception.
      ConfigureException​(java.lang.Object aContext, java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)
      Instantiates a new configure exception.
      ConfigureException​(java.lang.Object aContext, java.lang.Throwable cause)
      Instantiates a new configure exception.
      ConfigureException​(java.lang.Object aContext, java.lang.Throwable aCause, java.lang.String aErrorCode)
      Instantiates a new configure exception.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getContext()
      Retrieves the context from the context property.
      • Methods inherited from class org.refcodes.exception.AbstractException

        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

      • ConfigureException

        public ConfigureException​(java.lang.Object aContext,
                                  java.lang.String aMessage,
                                  java.lang.String aErrorCode)
        Instantiates a new configure exception.
        Parameters:
        aContext - the context
        aMessage - the message
        aErrorCode - the error code
      • ConfigureException

        public ConfigureException​(java.lang.Object aContext,
                                  java.lang.String aMessage,
                                  java.lang.Throwable aCause,
                                  java.lang.String aErrorCode)
        Instantiates a new configure exception.
        Parameters:
        aContext - the context
        aMessage - the message
        aCause - the cause
        aErrorCode - the error code
      • ConfigureException

        public ConfigureException​(java.lang.Object aContext,
                                  java.lang.String message,
                                  java.lang.Throwable cause)
        Instantiates a new configure exception.
        Parameters:
        aContext - the context
        message - the message
        cause - the cause
      • ConfigureException

        public ConfigureException​(java.lang.Object aContext,
                                  java.lang.String message)
        Instantiates a new configure exception.
        Parameters:
        aContext - the context
        message - the message
      • ConfigureException

        public ConfigureException​(java.lang.Object aContext,
                                  java.lang.Throwable aCause,
                                  java.lang.String aErrorCode)
        Instantiates a new configure exception.
        Parameters:
        aContext - the context
        aCause - the cause
        aErrorCode - the error code
      • ConfigureException

        public ConfigureException​(java.lang.Object aContext,
                                  java.lang.Throwable cause)
        Instantiates a new configure exception.
        Parameters:
        aContext - the context
        cause - the cause
    • Method Detail

      • getContext

        public java.lang.Object getContext()
        Retrieves the context from the context property.
        Specified by:
        getContext in interface ContextAccessor
        Returns:
        The context stored by the context property.