Class CharBufferOverflowException

  • All Implemented Interfaces:
    java.io.Serializable

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getBufferText()
      Get buffer text content which is cause of the error.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • bufferText

        private final java.lang.String bufferText
    • Constructor Detail

      • CharBufferOverflowException

        public CharBufferOverflowException​(java.lang.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 Detail

      • getBufferText

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