Class ConfigureException

All Implemented Interfaces:
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:
  • Constructor Details

    • ConfigureException

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

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

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

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

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

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

    • getContext

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