org.apache.any23.extractor.microdata
Class MicrodataParserException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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
MicrodataParserException(String message, Node errorNode)
           
MicrodataParserException(String message, Throwable cause, Node errorNode)
           
 
Method Summary
 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
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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)


Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.