Class LogRecordSizeException

All Implemented Interfaces:
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:
  • Field Details

    • 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:
  • Constructor Details

    • 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