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:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.refcodes.logger.LoggerRuntimeException
LoggerRuntimeException.LoggerRecordRuntimeExceptionNested 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.ErrorCodePropertyNested classes/interfaces inherited from interface org.refcodes.mixin.FilenameAccessor
org.refcodes.mixin.FilenameAccessor.FilenameBuilder<B extends org.refcodes.mixin.FilenameAccessor.FilenameBuilder<B>>, org.refcodes.mixin.FilenameAccessor.FilenameMutator, org.refcodes.mixin.FilenameAccessor.FilenamePropertyNested classes/interfaces inherited from interface org.refcodes.mixin.NamespaceAccessor
org.refcodes.mixin.NamespaceAccessor.NamespaceBuilder<B extends org.refcodes.mixin.NamespaceAccessor.NamespaceBuilder<B>>, org.refcodes.mixin.NamespaceAccessor.NamespaceMutator, org.refcodes.mixin.NamespaceAccessor.NamespaceProperty -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLoggerInstantiationRuntimeException(String aMessage) LoggerInstantiationRuntimeException(String aMessage, String aErrorCode) LoggerInstantiationRuntimeException(String aMessage, String aFilename, String aNamespace) LoggerInstantiationRuntimeException(String aMessage, String aFilename, String aNamespace, String aErrorCode) LoggerInstantiationRuntimeException(String aMessage, String aFilename, String aNamespace, Throwable aCause) LoggerInstantiationRuntimeException(String aMessage, String aFilename, String aNamespace, Throwable aCause, String aErrorCode) LoggerInstantiationRuntimeException(String aFilename, String aNamespace, Throwable aCause) LoggerInstantiationRuntimeException(String aFilename, String aNamespace, Throwable aCause, String aErrorCode) LoggerInstantiationRuntimeException(String aMessage, Throwable aCause) LoggerInstantiationRuntimeException(String aMessage, Throwable aCause, String aErrorCode) LoggerInstantiationRuntimeException(Throwable aCause, String aErrorCode) -
Method Summary
Methods inherited from class org.refcodes.exception.AbstractRuntimeException
getErrorCode, getMessageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.refcodes.exception.Trap
toLocalizedMessage, toMessage, toMessage, toMessage, toShortLocalizedMessage, toShortMessage
-
Field Details
-
_namespace
-
_filename
-
-
Constructor Details
-
LoggerInstantiationRuntimeException
-
LoggerInstantiationRuntimeException
-
LoggerInstantiationRuntimeException
-
LoggerInstantiationRuntimeException
-
LoggerInstantiationRuntimeException
-
LoggerInstantiationRuntimeException
-
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
- 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
- Parameters:
aFilename- The filename involved in this exception.aNamespace- The namespace involved in this exception.
-
-
Method Details
-
getNamespace
- Specified by:
getNamespacein interfaceorg.refcodes.mixin.NamespaceAccessor
-
getFilename
- Specified by:
getFilenamein interfaceorg.refcodes.mixin.FilenameAccessor
-
getPatternArguments
- Specified by:
getPatternArgumentsin interfaceorg.refcodes.exception.Trap
-