Class CharBufferOverflowException

All Implemented Interfaces:
Serializable

public class CharBufferOverflowException extends PrologParserException
Specialized exception shows that allowed char buffer size of one buffers in a tokenizer is reached.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • bufferText

      private final String bufferText
  • Constructor Details

    • CharBufferOverflowException

      public CharBufferOverflowException(String bufferText)
      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

      public String getBufferText()
      Get buffer text content which is cause of the error.
      Returns:
      the buffer text, can be empty but can't be null.