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, Locator pLocator)
LocSAXException(String pMsg, Locator pLocator, Exception pException)
LocSAXException(String pMsg, String pPublicId, String pSystemId, int pLineNumber, int pColumnNumber)
LocSAXException(String pMsg, String pPublicId, String pSystemId, int pLineNumber, int pColumnNumber, Exception pException)

Method Summary

static String
formatMsg(String pMsg, String pPublicId, String pSystemId, int pLineNumber, int pColNumber)
void
printStackTrace(PrintStream pStream)
void
printStackTrace(PrintWriter pWriter)

Constructor Details

LocSAXException

public LocSAXException(String pMsg,
                       Locator pLocator)

LocSAXException

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

LocSAXException

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

LocSAXException

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

Method Details

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)