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:
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 dedicated Column instances to be contained in the provided Record.
See Also:
  • Constructor Details

    • IllegalRecordRuntimeException

      public IllegalRecordRuntimeException(org.refcodes.tabular.Record<?> aDataRecord, String aMessage, String aErrorCode)
      Instantiates a new illegal record runtime exception.
      Parameters:
      aDataRecord - the data record
      aMessage - the message
      aErrorCode - the error code
    • IllegalRecordRuntimeException

      public IllegalRecordRuntimeException(org.refcodes.tabular.Record<?> aDataRecord, String aMessage, Throwable aCause, String aErrorCode)
      Instantiates a new illegal record runtime exception.
      Parameters:
      aDataRecord - the data record
      aMessage - the message
      aCause - the cause
      aErrorCode - the error code
    • IllegalRecordRuntimeException

      public IllegalRecordRuntimeException(org.refcodes.tabular.Record<?> aDataRecord, String message, Throwable cause)
      Instantiates a new illegal record runtime exception.
      Parameters:
      aDataRecord - the data record
      message - the message
      cause - the cause
    • IllegalRecordRuntimeException

      public IllegalRecordRuntimeException(org.refcodes.tabular.Record<?> aDataRecord, String message)
      Instantiates a new illegal record runtime exception.
      Parameters:
      aDataRecord - the data record
      message - the message
    • IllegalRecordRuntimeException

      public IllegalRecordRuntimeException(org.refcodes.tabular.Record<?> aDataRecord, Throwable aCause, String aErrorCode)
      Instantiates a new illegal record runtime exception.
      Parameters:
      aDataRecord - the data record
      aCause - the cause
      aErrorCode - the error code
    • IllegalRecordRuntimeException

      public IllegalRecordRuntimeException(org.refcodes.tabular.Record<?> aDataRecord, Throwable cause)
      Instantiates a new illegal record runtime exception.
      Parameters:
      aDataRecord - the data record
      cause - the cause
  • Method Details

    • getRecord

      public org.refcodes.tabular.Record<?> getRecord()
      Gets the record.
      Specified by:
      getRecord in interface org.refcodes.tabular.RecordAccessor
      Returns:
      the record