Class CharBufferOverflowException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.igormaznitsa.prologparser.exceptions.PrologParserException
com.igormaznitsa.prologparser.exceptions.CharBufferOverflowException
- All Implemented Interfaces:
Serializable
Specialized exception shows that allowed char buffer size of one buffers in a tokenizer is reached.
- See Also:
-
Field Summary
FieldsFields inherited from class PrologParserException
line, pos -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet buffer text content which is cause of the error.Methods inherited from class PrologParserException
getLine, getPos, hasValidPosition, toStringMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
bufferText
-
-
Constructor Details
-
CharBufferOverflowException
Constructor.- Parameters:
bufferText- current buffer content which is cause of the error, can be null but in the case it will be converted into empty string.
-
-
Method Details
-
getBufferText
Get buffer text content which is cause of the error.- Returns:
- the buffer text, can be empty but can't be null.
-