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

Constructor Summary
EventContextException(EventContext context, java.lang.Exception ex)
           
EventContextException(EventContext context, java.lang.String message)
           
EventContextException(EventContext context, java.lang.String message, java.lang.Exception ex)
           
 
Method Summary
 EventContext getContext()
           
 java.lang.String getErrorLocationString()
           
static java.lang.String getLocationString(ElementContext element)
           
protected  void printErrorLocation(java.io.PrintStream out, java.lang.String label)
           
protected  void printErrorLocation(java.io.PrintWriter out, java.lang.String label)
           
 void printStackTrace()
           
 void printStackTrace(java.io.PrintStream out)
           
 void printStackTrace(java.io.PrintWriter out)
           
 java.lang.String toString()
           
 
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
 

Constructor Detail

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)
Method Detail

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)