Version
NotEnoughDataInBufferException
public class NotEnoughDataInBufferException
Extends: RecoverablePduException
This exception is thrown when the amount of data available in the buffer is insufficient to fully decode an expected value. It provides details about how many bytes were available and how many were required.
Constructor:
public NotEnoughDataInBufferException(int available, int expected)
available: Number of bytes currently in the buffer.
expected: Number of bytes expected for successful reading.
Creates an exception instance with the given available and expected byte counts.
Sign in to read the full article
Start innovating with Mobius
What's next? Let's talk!