Class LogRecordSizeException

  • All Implemented Interfaces:
    java.io.Serializable

    public class LogRecordSizeException
    extends LogException
    Checked exception thrown when the byte[] passed to put is larger than the configured buffer size.

    LogBufferManager does not support spanned records (records that span physical blocks). Increase the configured journal block size to accomodate larger records.

    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.
    • Constructor Summary

      Constructors 
      Constructor Description
      LogRecordSizeException()
      Constructs an instance of this class.
      LogRecordSizeException​(int size)
      Constructs an instance of this class with specified description.
    • 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

      • LogRecordSizeException

        public LogRecordSizeException()
        Constructs an instance of this class.
      • LogRecordSizeException

        public LogRecordSizeException​(int size)
        Constructs an instance of this class with specified description.
        Parameters:
        size - maximum size of a user data record