Package org.objectweb.howl.log
Class LogRecordSizeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.objectweb.howl.log.LogException
org.objectweb.howl.log.LogRecordSizeException
- All Implemented Interfaces:
Serializable
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 Summary
FieldsModifier and TypeFieldDescription(package private) static final long
Determines if a de-serialized file is compatible with this class. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs 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
-
Field Details
-
serialVersionUID
static final long serialVersionUIDDetermines 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
-