Package org.refcodes.logger
Class IllegalRecordRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.refcodes.exception.AbstractRuntimeException
-
- org.refcodes.logger.LoggerRuntimeException
-
- org.refcodes.logger.IllegalRecordRuntimeException
-
- All Implemented Interfaces:
java.io.Serializable
,org.refcodes.exception.ErrorCodeAccessor
,org.refcodes.exception.Trap
,org.refcodes.tabular.RecordAccessor
public class IllegalRecordRuntimeException extends LoggerRuntimeException
Thrown in case the record cannot be logged as a specific implementation might expect some dedicatedColumn
instances to be contained in the provided Record.- 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 IllegalRecordRuntimeException(org.refcodes.tabular.Record<?> aDataRecord, java.lang.String message)
Instantiates a new illegal record runtime exception.IllegalRecordRuntimeException(org.refcodes.tabular.Record<?> aDataRecord, java.lang.String aMessage, java.lang.String aErrorCode)
Instantiates a new illegal record runtime exception.IllegalRecordRuntimeException(org.refcodes.tabular.Record<?> aDataRecord, java.lang.String message, java.lang.Throwable cause)
Instantiates a new illegal record runtime exception.IllegalRecordRuntimeException(org.refcodes.tabular.Record<?> aDataRecord, java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new illegal record runtime exception.IllegalRecordRuntimeException(org.refcodes.tabular.Record<?> aDataRecord, java.lang.Throwable cause)
Instantiates a new illegal record runtime exception.IllegalRecordRuntimeException(org.refcodes.tabular.Record<?> aDataRecord, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new illegal record 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
-
IllegalRecordRuntimeException
public IllegalRecordRuntimeException(org.refcodes.tabular.Record<?> aDataRecord, java.lang.String aMessage, java.lang.String aErrorCode)
Instantiates a new illegal record runtime exception.- Parameters:
aDataRecord
- the data recordaMessage
- the messageaErrorCode
- the error code
-
IllegalRecordRuntimeException
public IllegalRecordRuntimeException(org.refcodes.tabular.Record<?> aDataRecord, java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new illegal record runtime exception.- Parameters:
aDataRecord
- the data recordaMessage
- the messageaCause
- the causeaErrorCode
- the error code
-
IllegalRecordRuntimeException
public IllegalRecordRuntimeException(org.refcodes.tabular.Record<?> aDataRecord, java.lang.String message, java.lang.Throwable cause)
Instantiates a new illegal record runtime exception.- Parameters:
aDataRecord
- the data recordmessage
- the messagecause
- the cause
-
IllegalRecordRuntimeException
public IllegalRecordRuntimeException(org.refcodes.tabular.Record<?> aDataRecord, java.lang.String message)
Instantiates a new illegal record runtime exception.- Parameters:
aDataRecord
- the data recordmessage
- the message
-
IllegalRecordRuntimeException
public IllegalRecordRuntimeException(org.refcodes.tabular.Record<?> aDataRecord, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new illegal record runtime exception.- Parameters:
aDataRecord
- the data recordaCause
- the causeaErrorCode
- the error code
-
IllegalRecordRuntimeException
public IllegalRecordRuntimeException(org.refcodes.tabular.Record<?> aDataRecord, java.lang.Throwable cause)
Instantiates a new illegal record runtime exception.- Parameters:
aDataRecord
- the data recordcause
- the cause
-
-