Package org.objectweb.howl.log
Class InvalidLogBufferException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.objectweb.howl.log.LogException
-
- org.objectweb.howl.log.InvalidLogBufferException
-
- All Implemented Interfaces:
java.io.Serializable
public class InvalidLogBufferException extends LogException
Exception thrown when Logger detects a journal block with invalid content.Methods that read log blocks and process records within the blocks detect invalid content and throw this exception.
Reasons for throwing this exception include:
- Invalid block header information
- Invalid block footer information
- Record size exceeds bytes used for block
- 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 InvalidLogBufferException()
InvalidLogBufferException(java.lang.String s)
InvalidLogBufferException(java.lang.String s, java.lang.Throwable cause)
InvalidLogBufferException(java.lang.Throwable cause)
-
-
-
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
-
InvalidLogBufferException
public InvalidLogBufferException()
-
InvalidLogBufferException
public InvalidLogBufferException(java.lang.String s)
-
InvalidLogBufferException
public InvalidLogBufferException(java.lang.Throwable cause)
-
InvalidLogBufferException
public InvalidLogBufferException(java.lang.String s, java.lang.Throwable cause)
-
-