BufferUnderflowException

  • BufferUnderflowException is an unchecked exception, meaning it does not need to be explicitly declared in a method's throws clause.

  • It is thrown when a relative get operation attempts to read beyond the limit of a buffer.

  • This exception inherits from RuntimeException and provides a public constructor with no arguments to create an instance.

  • BufferUnderflowException provides methods to access the stack trace, error messages, and other relevant debugging information.

public class BufferUnderflowException extends RuntimeException

Unchecked exception thrown when a relative get operation reaches the source buffer's limit.

Public Constructor Summary

BufferUnderflowException()
Constructs an instance of this class.

Inherited Method Summary

Public Constructors

public BufferUnderflowException ()

Constructs an instance of this class.