public class NotEnoughDataInBufferException extends RecoverablePduException
| Constructor and Description |
|---|
NotEnoughDataInBufferException(int available,
int expected)
Constructs an instance of
AtNotEnoughDataInBufferException
with the specified detail message and estimated number of bytes required. |
NotEnoughDataInBufferException(String msg,
int available,
int expected)
Constructs an instance of
AtNotEnoughDataInBufferException
with the specified detail message and estimated number of bytes required. |
| Modifier and Type | Method and Description |
|---|---|
int |
getAvailable() |
int |
getExpected() |
getPartialPdu, setPartialPduaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic NotEnoughDataInBufferException(int available,
int expected)
AtNotEnoughDataInBufferException
with the specified detail message and estimated number of bytes required.
An estimate of -1 represents an unknown amount.msg - the detail message.available - Number of bytes that were availableexpected - Number of bytes expected or -1 if unknownpublic NotEnoughDataInBufferException(String msg, int available, int expected)
AtNotEnoughDataInBufferException
with the specified detail message and estimated number of bytes required.
An estimate of -1 represents an unknown amount.msg - the detail message.available - Number of bytes that were availableexpected - Number of bytes expected or -1 if unknownCopyright © 2009-2014 Cloudhopper by Twitter. All Rights Reserved.