public class CSAppFrameworkParserException extends CSAppFrameworkException implements org.xml.sax.ext.Locator2
Constructor and Description |
---|
CSAppFrameworkParserException(org.xml.sax.Locator pLocator,
java.lang.String pMessage)
Creates a new instance with the given detail message and no cause.
|
CSAppFrameworkParserException(org.xml.sax.Locator pLocator,
java.lang.String pMessage,
java.lang.Throwable pCause)
Creates a new instance with the given detail message and cause.
|
CSAppFrameworkParserException(org.xml.sax.Locator pLocator,
java.lang.Throwable pCause)
Creates a new instance with the given cause.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
asLocation(org.xml.sax.Locator pLocator)
Returns a human readable description of the given location.
|
static org.xml.sax.Locator |
asLocator(org.xml.sax.SAXException e)
Converts the given instance of
SAXException into an instance
of Locator . |
int |
getColumnNumber() |
java.lang.String |
getEncoding() |
int |
getLineNumber() |
org.xml.sax.Locator |
getLocator()
Returns the exceptions locator.
|
java.lang.String |
getMessage() |
java.lang.String |
getPublicId() |
java.lang.String |
getSystemId() |
java.lang.String |
getXMLVersion() |
public CSAppFrameworkParserException(org.xml.sax.Locator pLocator, java.lang.String pMessage, java.lang.Throwable pCause)
pLocator
- The Locator
instancepMessage
- The detail message.pCause
- The exceptions cause.public CSAppFrameworkParserException(org.xml.sax.Locator pLocator, java.lang.String pMessage)
pLocator
- The Locator
instancepMessage
- The detail message.public CSAppFrameworkParserException(org.xml.sax.Locator pLocator, java.lang.Throwable pCause)
Throwable.getMessage()
on the
cause.pLocator
- The Locator
instancepCause
- The exceptions cause.public org.xml.sax.Locator getLocator()
Locator
instancepublic java.lang.String getEncoding()
getEncoding
in interface org.xml.sax.ext.Locator2
public java.lang.String getXMLVersion()
getXMLVersion
in interface org.xml.sax.ext.Locator2
public int getColumnNumber()
getColumnNumber
in interface org.xml.sax.Locator
public int getLineNumber()
getLineNumber
in interface org.xml.sax.Locator
public java.lang.String getPublicId()
getPublicId
in interface org.xml.sax.Locator
public java.lang.String getSystemId()
getSystemId
in interface org.xml.sax.Locator
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public static org.xml.sax.Locator asLocator(org.xml.sax.SAXException e)
SAXException
into an instance
of Locator
.e
- The SAXException
instance to convert to locatorLocator
instancepublic static java.lang.String asLocation(org.xml.sax.Locator pLocator)
pLocator
- The Locator
instance