Class ConfigureException.ConfigureRuntimeException

All Implemented Interfaces:
Serializable, ContextAccessor, org.refcodes.exception.ErrorCodeAccessor, org.refcodes.exception.Trap
Enclosing class:
ConfigureException

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

    • ConfigureRuntimeException

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

      public ConfigureRuntimeException(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
    • ConfigureRuntimeException

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

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

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

      public ConfigureRuntimeException(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.