Class ValueConverterWithValueException

    • Constructor Summary

      Constructors 
      Constructor Description
      ValueConverterWithValueException​(java.lang.String message, INode node, java.lang.Object value, int offset, int length, java.lang.Exception cause)
      Creates a ranged value converter exception.
      ValueConverterWithValueException​(java.lang.String message, INode node, java.lang.Object value, java.lang.Exception cause)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getLength()  
      int getOffset()  
      java.lang.Object getValue()  
      boolean hasRange()  
      • Methods inherited from class java.lang.Throwable

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

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

      • ValueConverterWithValueException

        public ValueConverterWithValueException​(java.lang.String message,
                                                INode node,
                                                java.lang.Object value,
                                                java.lang.Exception cause)
      • ValueConverterWithValueException

        public ValueConverterWithValueException​(java.lang.String message,
                                                INode node,
                                                java.lang.Object value,
                                                int offset,
                                                int length,
                                                java.lang.Exception cause)
        Creates a ranged value converter exception.
        Parameters:
        offset - the offset relative to the total offset of the node
        length - the length of the error
        Since:
        2.7
    • Method Detail

      • hasRange

        public boolean hasRange()
        Since:
        2.7
      • getOffset

        public int getOffset()
        Since:
        2.7
      • getLength

        public int getLength()
        Since:
        2.7
      • getValue

        public java.lang.Object getValue()