Package org.refcodes.logger
Class UnexpectedLogRuntimeException
- 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:
java.io.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, java.lang.String message)
Instantiates a new unexpected log runtime exception.UnexpectedLogRuntimeException(org.refcodes.tabular.Record<?> aDataRecord, java.lang.String aMessage, java.lang.String aErrorCode)
Instantiates a new unexpected log runtime exception.UnexpectedLogRuntimeException(org.refcodes.tabular.Record<?> aDataRecord, java.lang.String message, java.lang.Throwable cause)
Instantiates a new unexpected log runtime exception.UnexpectedLogRuntimeException(org.refcodes.tabular.Record<?> aDataRecord, java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new unexpected log runtime exception.UnexpectedLogRuntimeException(org.refcodes.tabular.Record<?> aDataRecord, java.lang.Throwable cause)
Instantiates a new unexpected log runtime exception.UnexpectedLogRuntimeException(org.refcodes.tabular.Record<?> aDataRecord, java.lang.Throwable aCause, java.lang.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.
-
-
-
Constructor Detail
-
UnexpectedLogRuntimeException
public UnexpectedLogRuntimeException(org.refcodes.tabular.Record<?> aDataRecord, java.lang.String aMessage, java.lang.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, java.lang.String aMessage, java.lang.Throwable aCause, java.lang.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, java.lang.String message, java.lang.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, java.lang.String message)
Instantiates a new unexpected log runtime exception.- Parameters:
aDataRecord
- the data recordmessage
- the message
-
UnexpectedLogRuntimeException
public UnexpectedLogRuntimeException(org.refcodes.tabular.Record<?> aDataRecord, java.lang.Throwable aCause, java.lang.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, java.lang.Throwable cause)
Instantiates a new unexpected log runtime exception.- Parameters:
aDataRecord
- the data recordcause
- the cause
-
-