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
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 |
(package private) static long |
serialVersionUID
Determines if a de-serialized file is compatible with this class. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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
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