java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.refcodes.exception.AbstractRuntimeException
org.refcodes.logger.LoggerRuntimeException
org.refcodes.logger.UnexpectedLogRuntimeException
- All Implemented Interfaces:
Serializable
,org.refcodes.exception.ErrorCodeAccessor
,org.refcodes.exception.Trap
,org.refcodes.tabular.RecordAccessor
Thrown in case some other problems regarding logging occurred, e.g. the data
sink (physical system where to log to) experiences problems.
- See Also:
-
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
ConstructorDescriptionUnexpectedLogRuntimeException
(org.refcodes.tabular.Record<?> aDataRecord, String message) Instantiates a new unexpected log runtime exception.UnexpectedLogRuntimeException
(org.refcodes.tabular.Record<?> aDataRecord, String aMessage, String aErrorCode) Instantiates a new unexpected log runtime exception.UnexpectedLogRuntimeException
(org.refcodes.tabular.Record<?> aDataRecord, String message, Throwable cause) Instantiates a new unexpected log runtime exception.UnexpectedLogRuntimeException
(org.refcodes.tabular.Record<?> aDataRecord, String aMessage, Throwable aCause, String aErrorCode) Instantiates a new unexpected log runtime exception.UnexpectedLogRuntimeException
(org.refcodes.tabular.Record<?> aDataRecord, Throwable cause) Instantiates a new unexpected log runtime exception.UnexpectedLogRuntimeException
(org.refcodes.tabular.Record<?> aDataRecord, Throwable aCause, String aErrorCode) Instantiates a new unexpected log runtime exception. -
Method Summary
Methods inherited from class org.refcodes.exception.AbstractRuntimeException
getErrorCode
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnexpectedLogRuntimeException
public UnexpectedLogRuntimeException(org.refcodes.tabular.Record<?> aDataRecord, String aMessage, String aErrorCode) Instantiates a new unexpected log runtime exception.- Parameters:
aDataRecord
- the data recordaMessage
- the messageaErrorCode
- the error code
-
UnexpectedLogRuntimeException
public UnexpectedLogRuntimeException(org.refcodes.tabular.Record<?> aDataRecord, String aMessage, Throwable aCause, String aErrorCode) Instantiates a new unexpected log runtime exception.- Parameters:
aDataRecord
- the data recordaMessage
- the messageaCause
- the causeaErrorCode
- the error code
-
UnexpectedLogRuntimeException
public UnexpectedLogRuntimeException(org.refcodes.tabular.Record<?> aDataRecord, String message, Throwable cause) Instantiates a new unexpected log runtime exception.- Parameters:
aDataRecord
- the data recordmessage
- the messagecause
- the cause
-
UnexpectedLogRuntimeException
Instantiates a new unexpected log runtime exception.- Parameters:
aDataRecord
- the data recordmessage
- the message
-
UnexpectedLogRuntimeException
public UnexpectedLogRuntimeException(org.refcodes.tabular.Record<?> aDataRecord, Throwable aCause, String aErrorCode) Instantiates a new unexpected log runtime exception.- Parameters:
aDataRecord
- the data recordaCause
- the causeaErrorCode
- the error code
-
UnexpectedLogRuntimeException
Instantiates a new unexpected log runtime exception.- Parameters:
aDataRecord
- the data recordcause
- the cause
-
-
Method Details
-
getRecord
public org.refcodes.tabular.Record<?> getRecord()Gets the record.- Specified by:
getRecord
in interfaceorg.refcodes.tabular.RecordAccessor
- Returns:
- the record
-