Package org.apache.any23.extractor.microdata

## Class MicrodataParserException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - org.apache.any23.extractor.microdata.MicrodataParserException

- All Implemented Interfaces:
    `Serializable`

      public class MicrodataParserException
      extends Exception

  Defines an exception occurring while parsing Microdata.
  Author:
    Michele Mostarda (mostarda@fbk.eu)
  See Also:
    `MicrodataParser`, Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `MicrodataParserException​(String message, Throwable cause, Node errorNode)` |
    `MicrodataParserException​(String message, Node errorNode)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | `getErrorLocationBeginCol()` |
    `int` | `getErrorLocationBeginRow()` |
    `int` | `getErrorLocationEndCol()` |
    `int` | `getErrorLocationEndRow()` |
    `String` | `getErrorPath()` |
    `protected void` | `setErrorNode​(Node n)` |
    `String` | `toJSON()` |
    `String` | `toString()` |

    - ### 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`

- - ### Constructor Detail

    - #### MicrodataParserException

          public MicrodataParserException​(String message,
                                          Node errorNode)

    - #### MicrodataParserException

          public MicrodataParserException​(String message,
                                          Throwable cause,
                                          Node errorNode)

  - ### Method Detail

    - #### getErrorPath

          public String getErrorPath()

    - #### getErrorLocationBeginRow

          public int getErrorLocationBeginRow()

    - #### getErrorLocationBeginCol

          public int getErrorLocationBeginCol()

    - #### getErrorLocationEndRow

          public int getErrorLocationEndRow()

    - #### getErrorLocationEndCol

          public int getErrorLocationEndCol()

    - #### toJSON

          public String toJSON()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Throwable`

    - #### setErrorNode

          protected void setErrorNode​(Node n)