Class XMLParseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.jackrabbit.vault.util.xml.xerces.xni.XNIException
-
- org.apache.jackrabbit.vault.util.xml.xerces.xni.parser.XMLParseException
-
- All Implemented Interfaces:
Serializable
@Deprecated(since="2021-03-05") public class XMLParseException extends XNIException
Deprecated.Please avoid using this package and use standard XML APIs.A parsing exception. This exception is different from the standard XNI exception in that it stores the location in the document (or its entities) where the exception occurred.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description XMLParseException(XMLLocator locator, String message)
Deprecated.Constructs a parse exception.XMLParseException(XMLLocator locator, String message, Exception exception)
Deprecated.Constructs a parse exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getBaseSystemId()
Deprecated.Returns the base system identifier.int
getColumnNumber()
Deprecated.Returns the row number.String
getExpandedSystemId()
Deprecated.Returns the expanded system identifier.int
getLineNumber()
Deprecated.Returns the line number.String
getLiteralSystemId()
Deprecated.Returns the literal system identifier.String
getPublicId()
Deprecated.Returns the public identifier.String
toString()
Deprecated.Returns a string representation of this object.-
Methods inherited from class org.apache.jackrabbit.vault.util.xml.xerces.xni.XNIException
getException
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
XMLParseException
public XMLParseException(XMLLocator locator, String message)
Deprecated.Constructs a parse exception.
-
XMLParseException
public XMLParseException(XMLLocator locator, String message, Exception exception)
Deprecated.Constructs a parse exception.
-
-
Method Detail
-
getPublicId
public String getPublicId()
Deprecated.Returns the public identifier.
-
getExpandedSystemId
public String getExpandedSystemId()
Deprecated.Returns the expanded system identifier.
-
getLiteralSystemId
public String getLiteralSystemId()
Deprecated.Returns the literal system identifier.
-
getBaseSystemId
public String getBaseSystemId()
Deprecated.Returns the base system identifier.
-
getLineNumber
public int getLineNumber()
Deprecated.Returns the line number.
-
getColumnNumber
public int getColumnNumber()
Deprecated.Returns the row number.
-
-