Class InvalidLogBufferException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InvalidLogBufferException
    extends LogException
    Exception thrown when Logger detects a journal block with invalid content.

    Methods that read log blocks and process records within the blocks detect invalid content and throw this exception.

    Reasons for throwing this exception include:

    • Invalid block header information
    • Invalid block footer information
    • Record size exceeds bytes used for block
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) static long serialVersionUID
      Determines if a de-serialized file is compatible with this class.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • serialVersionUID

        static final long serialVersionUID
        Determines if a de-serialized file is compatible with this class. Maintainers must change this value if and only if the new version of this class is not compatible with old versions. See Sun docs for details. Not necessary to include in first version of the class, but included here as a reminder of its importance.
        See Also:
        Constant Field Values
    • Constructor Detail

      • InvalidLogBufferException

        public InvalidLogBufferException()
      • InvalidLogBufferException

        public InvalidLogBufferException​(java.lang.String s)
      • InvalidLogBufferException

        public InvalidLogBufferException​(java.lang.Throwable cause)
      • InvalidLogBufferException

        public InvalidLogBufferException​(java.lang.String s,
                                         java.lang.Throwable cause)