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, ErrorCodeAccessor, Trap, FilenameAccessor, NamespaceAccessor
public class LoggerInstantiationRuntimeException
extends LoggerRuntimeException
implements FilenameAccessor, 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:
-
Nested Class Summary
Nested classes/interfaces inherited from class LoggerRuntimeException
LoggerRuntimeException.LoggerRecordRuntimeExceptionNested classes/interfaces inherited from interface ErrorCodeAccessor
ErrorCodeAccessor.ErrorCodeBuilder<B>, ErrorCodeAccessor.ErrorCodeMutator, ErrorCodeAccessor.ErrorCodePropertyNested classes/interfaces inherited from interface FilenameAccessor
FilenameAccessor.FilenameBuilder<B>, FilenameAccessor.FilenameMutator, FilenameAccessor.FilenamePropertyNested classes/interfaces inherited from interface NamespaceAccessor
NamespaceAccessor.NamespaceBuilder<B>, NamespaceAccessor.NamespaceMutator, NamespaceAccessor.NamespaceProperty -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLoggerInstantiationRuntimeException(String aMessage) Instantiates a new logger instantiation runtime exception.LoggerInstantiationRuntimeException(String aMessage, String aErrorCode) Instantiates a new logger instantiation runtime exception.LoggerInstantiationRuntimeException(String aMessage, String aFilename, String aNamespace) Instantiates a new logger instantiation runtime exception.LoggerInstantiationRuntimeException(String aMessage, String aFilename, String aNamespace, String aErrorCode) Instantiates a new logger instantiation runtime exception.LoggerInstantiationRuntimeException(String aMessage, String aFilename, String aNamespace, Throwable aCause) Instantiates a new logger instantiation runtime exception.LoggerInstantiationRuntimeException(String aMessage, String aFilename, String aNamespace, Throwable aCause, String aErrorCode) Instantiates a new logger instantiation runtime exception.LoggerInstantiationRuntimeException(String aFilename, String aNamespace, Throwable aCause) Instantiates a new logger instantiation runtime exception.LoggerInstantiationRuntimeException(String aFilename, String aNamespace, Throwable aCause, String aErrorCode) Instantiates a new logger instantiation runtime exception.LoggerInstantiationRuntimeException(String aMessage, Throwable aCause) Instantiates a new logger instantiation runtime exception.LoggerInstantiationRuntimeException(String aMessage, Throwable aCause, String aErrorCode) Instantiates a new logger instantiation runtime exception.Instantiates a new logger instantiation runtime exception.LoggerInstantiationRuntimeException(Throwable aCause, String aErrorCode) Instantiates a new logger instantiation runtime exception. -
Method Summary
Methods inherited from class AbstractRuntimeException
getErrorCode, getMessageMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Trap
toLocalizedMessage, toMessage, toMessage, toMessage, toShortLocalizedMessage, toShortMessage
-
Field Details
-
_namespace
-
_filename
-
-
Constructor Details
-
LoggerInstantiationRuntimeException
-
LoggerInstantiationRuntimeException
-
LoggerInstantiationRuntimeException
-
LoggerInstantiationRuntimeException
Instantiates a new logger instantiation runtime exception.- Parameters:
aMessage- the message- See Also:
-
LoggerInstantiationRuntimeException
-
LoggerInstantiationRuntimeException
Instantiates a new logger instantiation runtime exception.- Parameters:
aCause- the cause- See Also:
-
LoggerInstantiationRuntimeException
public LoggerInstantiationRuntimeException(String aMessage, String aFilename, String aNamespace, String aErrorCode) Instantiates a new logger instantiation runtime exception.- Parameters:
aMessage- the messageaFilename- The filename involved in this exception.aNamespace- The namespace involved in this exception.aErrorCode- the error code- See Also:
-
LoggerInstantiationRuntimeException
public LoggerInstantiationRuntimeException(String aMessage, String aFilename, String aNamespace, Throwable aCause, String aErrorCode) Instantiates a new logger instantiation runtime exception.- Parameters:
aMessage- the messageaFilename- The filename involved in this exception.aNamespace- The namespace involved in this exception.aCause- the causeaErrorCode- the error code- See Also:
-
LoggerInstantiationRuntimeException
public LoggerInstantiationRuntimeException(String aMessage, String aFilename, String aNamespace, Throwable aCause) Instantiates a new logger instantiation runtime exception.- Parameters:
aMessage- the messageaFilename- The filename involved in this exception.aNamespace- The namespace involved in this exception.aCause- the cause- See Also:
-
LoggerInstantiationRuntimeException
Instantiates a new logger instantiation runtime exception.- Parameters:
aMessage- the messageaFilename- The filename involved in this exception.aNamespace- The namespace involved in this exception.- See Also:
-
LoggerInstantiationRuntimeException
public LoggerInstantiationRuntimeException(String aFilename, String aNamespace, Throwable aCause, String aErrorCode) Instantiates a new logger instantiation runtime exception.- Parameters:
aFilename- The filename involved in this exception.aNamespace- The namespace involved in this exception.aCause- the causeaErrorCode- the error code- See Also:
-
LoggerInstantiationRuntimeException
Instantiates a new logger instantiation runtime exception.- Parameters:
aFilename- The filename involved in this exception.aNamespace- The namespace involved in this exception.aCause- the cause- See Also:
-
-
Method Details
-
getNamespace
- Specified by:
getNamespacein interfaceNamespaceAccessor
-
getFilename
- Specified by:
getFilenamein interfaceFilenameAccessor
-
getPatternArguments
- Specified by:
getPatternArgumentsin interfaceTrap
-