Package org.simpleframework.util.buffer
Class BufferException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.simpleframework.util.buffer.BufferException
- All Implemented Interfaces:
Serializable
The
BufferException
is used to report problems that
can occur during the use or allocation of a buffer. Typically
this is thrown if the upper capacity limit is exceeded.- Author:
- Niall Gallagher
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBufferException
(String format, Object... values) Constructor for theBufferException
object. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BufferException
Constructor for theBufferException
object. The exception can be provided with a message describing the issue that has arisen in the use or allocation of the buffer.- Parameters:
format
- this is the template for the exceptionvalues
- these are the values to be added to the template
-