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 intgetErrorLocationBeginCol()intgetErrorLocationBeginRow()intgetErrorLocationEndCol()intgetErrorLocationEndRow()StringgetErrorPath()protected voidsetErrorNode(Node n)StringtoJSON()StringtoString()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
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()
-
setErrorNode
protected void setErrorNode(Node n)
-
-