|
Oracle® Application Server XML Java API Reference 10g Release 3 (10.1.3) B28238-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
java.lang.Throwable
java.lang.Exception
oracle.xml.util.XMLException
Indicates that a parsing exception occurred while processing an XML document
Field Summary | |
static int |
ERROR Code for non-fatal error |
static int |
FATAL_ERROR Code for fatal error |
static int |
WARNING Code for warning |
Constructor Summary | |
XMLException(java.lang.String mesg, java.lang.String pubId, java.lang.String sysId, int line, int col, int type) |
|
XMLException(XMLError err, java.lang.Exception e) |
|
XMLException(XMLError err, int firsterr) |
|
XMLException(XMLError err, int firsterr, java.lang.Exception e) |
Method Summary | |
java.lang.String |
formatErrorMessage(int i) Get the error message at specified index |
int |
getColumnNumber(int i) Get the column number of error at specified index |
java.lang.Exception |
getException(int i) Get the exception (if exists) that occured in error at specified index |
int |
getLineNumber(int i) Get the line number of error at specified index |
java.lang.String |
getMessage(int i) Get the error message at specified index |
int |
getMessageType(int i) Get the type of the error message at specified index |
int |
getNumMessages() Return the total number of errors/warnings found during parsing |
java.lang.String |
getPublicId(int i) Get the public ID of input when error at specified index occured |
java.lang.String |
getSystemId(int i) Get the system ID of input when error at specified index occured |
XMLError |
getXMLError() Get XMLError object inside XMLException. |
void |
printStackTrace() Prints this Throwable and its backtrace to the standard error stream. |
void |
printStackTrace(java.io.PrintStream s) Prints this Throwable and its backtrace to the specified print stream. |
void |
printStackTrace(java.io.PrintWriter s) Prints this Throwable and its backtrace to the specified print writer. |
void |
setException(java.lang.Exception ex) Set the underlying exception (if exists) |
java.lang.String |
toString() Override toString to pick up any embedded exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int ERROR
public static final int FATAL_ERROR
public static final int WARNING
Constructor Detail |
public XMLException(java.lang.String mesg, java.lang.String pubId, java.lang.String sysId, int line, int col, int type)
public XMLException(XMLError err, int firsterr)
public XMLException(XMLError err, int firsterr, java.lang.Exception e)
public XMLException(XMLError err, java.lang.Exception e)
Method Detail |
public int getNumMessages()
public java.lang.String getMessage(int i)
public java.lang.String formatErrorMessage(int i)
public int getLineNumber(int i)
public int getColumnNumber(int i)
public java.lang.String getSystemId(int i)
public java.lang.String getPublicId(int i)
public java.lang.Exception getException(int i)
public int getMessageType(int i)
public void printStackTrace()
Throwable
and its backtrace to the standard error stream.public void printStackTrace(java.io.PrintStream s)
Throwable
and its backtrace to the specified print stream.public void printStackTrace(java.io.PrintWriter s)
Throwable
and its backtrace to the specified print writer.public java.lang.String toString()
public void setException(java.lang.Exception ex)
public XMLError getXMLError()
|
Oracle® Application Server XML Java API Reference 10g Release 3 (10.1.3) B28238-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |