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 according exception.
      Parameters:
      aContext - the context
      aMessage - The aMessage describing this exception.
      aErrorCode - The error code identifying this exception.
    • ConfigureRuntimeException

      public ConfigureRuntimeException(Object aContext, String aMessage, Throwable aCause, String aErrorCode)
      Instantiates a new according exception.
      Parameters:
      aContext - the context
      aMessage - The aMessage describing this exception.
      aCause - The Throwable (Exception) causing this exception.
      aErrorCode - The error code identifying this exception.
    • ConfigureRuntimeException

      public ConfigureRuntimeException(Object aContext, String aMessage, Throwable aCause)
      Instantiates a new according exception.
      Parameters:
      aContext - the context
      aMessage - The aMessage describing this exception.
      aCause - The Throwable (Exception) causing this exception.
    • ConfigureRuntimeException

      public ConfigureRuntimeException(Object aContext, String aMessage)
      Instantiates a new according exception.
      Parameters:
      aContext - the context
      aMessage - The aMessage describing this exception.
    • ConfigureRuntimeException

      public ConfigureRuntimeException(Object aContext, Throwable aCause, String aErrorCode)
      Instantiates a new according exception.
      Parameters:
      aContext - the context
      aCause - The Throwable (Exception) causing this exception.
      aErrorCode - The error code identifying this exception.
    • ConfigureRuntimeException

      public ConfigureRuntimeException(Object aContext, Throwable aCause)
      Instantiates a new according exception.
      Parameters:
      aContext - the context
      aCause - The Throwable (Exception) causing this exception.
  • 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.