- 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
public class UnexpectedLogRuntimeException extends LoggerRuntimeException
Thrown in case some other problems regarding logging occurred, e.g. the data sink (physical system where to log to) experiences problems.- 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 UnexpectedLogRuntimeException(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.refcodes.tabular.Record<?>
getRecord()
Gets the record.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
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
public UnexpectedLogRuntimeException(org.refcodes.tabular.Record<?> aDataRecord, String message)
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
public UnexpectedLogRuntimeException(org.refcodes.tabular.Record<?> aDataRecord, Throwable cause)
Instantiates a new unexpected log runtime exception.- Parameters:
aDataRecord
- the data recordcause
- the cause
-
-