Class LoggerInstantiationRuntimeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.refcodes.exception.AbstractRuntimeException
org.refcodes.logger.LoggerRuntimeException
org.refcodes.logger.LoggerInstantiationRuntimeException
All Implemented Interfaces:
Serializable, org.refcodes.exception.ErrorCodeAccessor, org.refcodes.exception.Trap, org.refcodes.mixin.FilenameAccessor, org.refcodes.mixin.NamespaceAccessor

public class LoggerInstantiationRuntimeException extends LoggerRuntimeException implements org.refcodes.mixin.FilenameAccessor, org.refcodes.mixin.NamespaceAccessor
Thrown in case instantiating a Logger (RuntimeLogger) failed, e.g. the RuntimeLoggerSingleton tries to construct a RuntimeLogger from a bean configuration file (or a SpringRuntimeLoggerSingleton tries to construct a RuntimeLogger from a bean configuration context file) and fails doing so (due to missing or "wrong" configuration file).
See Also:
  • Field Details

    • _namespace

      protected String _namespace
    • _filename

      protected String _filename
  • Constructor Details

    • LoggerInstantiationRuntimeException

      public LoggerInstantiationRuntimeException(String aMessage, String aErrorCode)
    • LoggerInstantiationRuntimeException

      public LoggerInstantiationRuntimeException(String aMessage, Throwable aCause, String aErrorCode)
    • LoggerInstantiationRuntimeException

      public LoggerInstantiationRuntimeException(String aMessage, Throwable aCause)
    • LoggerInstantiationRuntimeException

      public LoggerInstantiationRuntimeException(String aMessage)
    • LoggerInstantiationRuntimeException

      public LoggerInstantiationRuntimeException(Throwable aCause, String aErrorCode)
    • LoggerInstantiationRuntimeException

      public LoggerInstantiationRuntimeException(Throwable aCause)
    • LoggerInstantiationRuntimeException

      public LoggerInstantiationRuntimeException(String aMessage, String aFilename, String aNamespace, String aErrorCode)
      Parameters:
      aFilename - The filename involved in this exception.
      aNamespace - The namespace involved in this exception.
    • LoggerInstantiationRuntimeException

      public LoggerInstantiationRuntimeException(String aMessage, String aFilename, String aNamespace, Throwable aCause, String aErrorCode)
      Parameters:
      aFilename - The filename involved in this exception.
      aNamespace - The namespace involved in this exception.
    • LoggerInstantiationRuntimeException

      public LoggerInstantiationRuntimeException(String aMessage, String aFilename, String aNamespace, Throwable aCause)
      Parameters:
      aFilename - The filename involved in this exception.
      aNamespace - The namespace involved in this exception.
    • LoggerInstantiationRuntimeException

      public LoggerInstantiationRuntimeException(String aMessage, String aFilename, String aNamespace)
      Parameters:
      aFilename - The filename involved in this exception.
      aNamespace - The namespace involved in this exception.
    • LoggerInstantiationRuntimeException

      public LoggerInstantiationRuntimeException(String aFilename, String aNamespace, Throwable aCause, String aErrorCode)
      Parameters:
      aFilename - The filename involved in this exception.
      aNamespace - The namespace involved in this exception.
    • LoggerInstantiationRuntimeException

      public LoggerInstantiationRuntimeException(String aFilename, String aNamespace, Throwable aCause)
      Parameters:
      aFilename - The filename involved in this exception.
      aNamespace - The namespace involved in this exception.
  • Method Details

    • getNamespace

      public String getNamespace()
      Specified by:
      getNamespace in interface org.refcodes.mixin.NamespaceAccessor
    • getFilename

      public String getFilename()
      Specified by:
      getFilename in interface org.refcodes.mixin.FilenameAccessor
    • getPatternArguments

      public Object[] getPatternArguments()
      Specified by:
      getPatternArguments in interface org.refcodes.exception.Trap