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

public class LoggerInstantiationRuntimeException
extends LoggerRuntimeException
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:
Serialized Form
  • Constructor Details

    • LoggerInstantiationRuntimeException

      public LoggerInstantiationRuntimeException​(String aMessage, String aErrorCode)
      Instantiates a new logger instantiation runtime exception.
      Parameters:
      aMessage - the message
      aErrorCode - the error code
    • LoggerInstantiationRuntimeException

      public LoggerInstantiationRuntimeException​(String aMessage, Throwable aCause, String aErrorCode)
      Instantiates a new logger instantiation runtime exception.
      Parameters:
      aMessage - the message
      aCause - the cause
      aErrorCode - the error code
    • LoggerInstantiationRuntimeException

      public LoggerInstantiationRuntimeException​(String message, Throwable cause)
      Instantiates a new logger instantiation runtime exception.
      Parameters:
      message - the message
      cause - the cause
    • LoggerInstantiationRuntimeException

      public LoggerInstantiationRuntimeException​(String message)
      Instantiates a new logger instantiation runtime exception.
      Parameters:
      message - the message
    • LoggerInstantiationRuntimeException

      public LoggerInstantiationRuntimeException​(Throwable aCause, String aErrorCode)
      Instantiates a new logger instantiation runtime exception.
      Parameters:
      aCause - the cause
      aErrorCode - the error code
    • LoggerInstantiationRuntimeException

      public LoggerInstantiationRuntimeException​(Throwable cause)
      Instantiates a new logger instantiation runtime exception.
      Parameters:
      cause - the cause