Class 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
    • 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 record
        aMessage - the message
        aErrorCode - 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 record
        aMessage - the message
        aCause - the cause
        aErrorCode - 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 record
        message - the message
        cause - the cause
      • UnexpectedLogRuntimeException

        public UnexpectedLogRuntimeException​(org.refcodes.tabular.Record<?> aDataRecord,
                                             String message)
        Instantiates a new unexpected log runtime exception.
        Parameters:
        aDataRecord - the data record
        message - 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 record
        aCause - the cause
        aErrorCode - the error code
      • UnexpectedLogRuntimeException

        public UnexpectedLogRuntimeException​(org.refcodes.tabular.Record<?> aDataRecord,
                                             Throwable cause)
        Instantiates a new unexpected log runtime exception.
        Parameters:
        aDataRecord - the data record
        cause - the cause
    • Method Detail

      • getRecord

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