org.apache.ws.jaxme.xs.parser.impl

Class LocSAXException

public class LocSAXException extends SAXParseException

The locatable SAXException, a subclass of the SAXParseException, provides a human readable representation of the location.

Author: Jochen Wiedmann

Constructor Summary
LocSAXException(String pMsg, String pPublicId, String pSystemId, int pLineNumber, int pColumnNumber, Exception pException)
LocSAXException(String pMsg, String pPublicId, String pSystemId, int pLineNumber, int pColumnNumber)
LocSAXException(String pMsg, Locator pLocator, Exception pException)
LocSAXException(String pMsg, Locator pLocator)
Method Summary
static StringformatMsg(String pMsg, String pPublicId, String pSystemId, int pLineNumber, int pColNumber)
voidprintStackTrace(PrintStream pStream)
voidprintStackTrace(PrintWriter pWriter)

Constructor Detail

LocSAXException

public LocSAXException(String pMsg, String pPublicId, String pSystemId, int pLineNumber, int pColumnNumber, Exception pException)

LocSAXException

public LocSAXException(String pMsg, String pPublicId, String pSystemId, int pLineNumber, int pColumnNumber)

LocSAXException

public LocSAXException(String pMsg, Locator pLocator, Exception pException)

LocSAXException

public LocSAXException(String pMsg, Locator pLocator)

Method Detail

formatMsg

public static String formatMsg(String pMsg, String pPublicId, String pSystemId, int pLineNumber, int pColNumber)

printStackTrace

public void printStackTrace(PrintStream pStream)

printStackTrace

public void printStackTrace(PrintWriter pWriter)