Package org.refcodes.logger
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
-
public class LoggerInstantiationRuntimeException extends LoggerRuntimeException
Thrown in case instantiating aLogger
(RuntimeLogger
) failed, e.g. theRuntimeLoggerSingleton
tries to construct aRuntimeLogger
from a bean configuration file (or a SpringRuntimeLoggerSingleton tries to construct aRuntimeLogger
from a bean configuration context file) and fails doing so (due to missing or "wrong" configuration file).- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.exception.ErrorCodeAccessor
org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B extends org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B>>, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeMutator, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeProperty
-
-
Constructor Summary
Constructors Constructor Description LoggerInstantiationRuntimeException(java.lang.String message)
Instantiates a new logger instantiation runtime exception.LoggerInstantiationRuntimeException(java.lang.String aMessage, java.lang.String aErrorCode)
Instantiates a new logger instantiation runtime exception.LoggerInstantiationRuntimeException(java.lang.String message, java.lang.Throwable cause)
Instantiates a new logger instantiation runtime exception.LoggerInstantiationRuntimeException(java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new logger instantiation runtime exception.LoggerInstantiationRuntimeException(java.lang.Throwable cause)
Instantiates a new logger instantiation runtime exception.LoggerInstantiationRuntimeException(java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new logger instantiation runtime exception.
-
-
-
Constructor Detail
-
LoggerInstantiationRuntimeException
public LoggerInstantiationRuntimeException(java.lang.String aMessage, java.lang.String aErrorCode)
Instantiates a new logger instantiation runtime exception.- Parameters:
aMessage
- the messageaErrorCode
- the error code
-
LoggerInstantiationRuntimeException
public LoggerInstantiationRuntimeException(java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new logger instantiation runtime exception.- Parameters:
aMessage
- the messageaCause
- the causeaErrorCode
- the error code
-
LoggerInstantiationRuntimeException
public LoggerInstantiationRuntimeException(java.lang.String message, java.lang.Throwable cause)
Instantiates a new logger instantiation runtime exception.- Parameters:
message
- the messagecause
- the cause
-
LoggerInstantiationRuntimeException
public LoggerInstantiationRuntimeException(java.lang.String message)
Instantiates a new logger instantiation runtime exception.- Parameters:
message
- the message
-
LoggerInstantiationRuntimeException
public LoggerInstantiationRuntimeException(java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new logger instantiation runtime exception.- Parameters:
aCause
- the causeaErrorCode
- the error code
-
LoggerInstantiationRuntimeException
public LoggerInstantiationRuntimeException(java.lang.Throwable cause)
Instantiates a new logger instantiation runtime exception.- Parameters:
cause
- the cause
-
-