net.sf.swan.xml.input.event
Class EventContextException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--org.xml.sax.SAXException
|
+--org.xml.sax.SAXParseException
|
+--net.sf.swan.xml.input.event.EventContextException
- All Implemented Interfaces:
- java.io.Serializable
- public class EventContextException
- extends org.xml.sax.SAXParseException
- See Also:
- Serialized Form
Methods inherited from class org.xml.sax.SAXParseException |
getColumnNumber, getLineNumber, getPublicId, getSystemId |
Methods inherited from class org.xml.sax.SAXException |
getException, getMessage |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EventContextException
public EventContextException(EventContext context,
java.lang.String message)
EventContextException
public EventContextException(EventContext context,
java.lang.String message,
java.lang.Exception ex)
EventContextException
public EventContextException(EventContext context,
java.lang.Exception ex)
getContext
public EventContext getContext()
toString
public java.lang.String toString()
- Overrides:
toString
in class org.xml.sax.SAXException
printStackTrace
public void printStackTrace()
- Overrides:
printStackTrace
in class java.lang.Throwable
printStackTrace
public void printStackTrace(java.io.PrintStream out)
- Overrides:
printStackTrace
in class java.lang.Throwable
printStackTrace
public void printStackTrace(java.io.PrintWriter out)
- Overrides:
printStackTrace
in class java.lang.Throwable
getErrorLocationString
public java.lang.String getErrorLocationString()
getLocationString
public static java.lang.String getLocationString(ElementContext element)
printErrorLocation
protected void printErrorLocation(java.io.PrintStream out,
java.lang.String label)
printErrorLocation
protected void printErrorLocation(java.io.PrintWriter out,
java.lang.String label)