org.objectweb.howl.log
Class LogRecordSizeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.objectweb.howl.log.LogException
              extended byorg.objectweb.howl.log.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

Constructor Summary
LogRecordSizeException()
          Constructs an instance of this class.
LogRecordSizeException(int size)
          Constructs an instance of this class with specified description.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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


Copyright © 2003-2005 HOWL Development Team. All Rights Reserved.