|
Oracle® Database XML Java API Reference 11g Release 2 (11.2) E10769-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
oracle.xml.sql.OracleXMLSQLException
public class OracleXMLSQLException
The OracleXMLSQLException class is the generic runtime exception thrown by the XSU.
| Constructor Summary | |
|---|---|
OracleXMLSQLException(java.lang.Exception parentE)Constructor for the OracleXMLSQLException object. |
|
OracleXMLSQLException(java.lang.Exception parentE, java.lang.String errorTag)Constructor for the OracleXMLSQLException object. |
|
OracleXMLSQLException(java.lang.String message)Constructor for the OracleXMLSQLException object. |
|
OracleXMLSQLException(java.lang.String message, java.lang.Exception parentE)Constructor for the OracleXMLSQLException object. |
|
OracleXMLSQLException(java.lang.String message, java.lang.Exception parentE, boolean combine)Constructor for the OracleXMLSQLException object. |
|
OracleXMLSQLException(java.lang.String message, java.lang.Exception parentE, java.lang.String errorTag)Constructor for the OracleXMLSQLException object. |
|
OracleXMLSQLException(java.lang.String message, int sqlErrorCode)Constructor for the OracleXMLSQLException object. |
|
OracleXMLSQLException(java.lang.String message, int sqlErrorCode, java.lang.String errorTag)Constructor for the OracleXMLSQLException object. |
|
OracleXMLSQLException(java.lang.String message, java.lang.String errorTag)Constructor for the OracleXMLSQLException object. |
|
| Method Summary | |
|---|---|
int |
getErrorCode()This function gets the SQL error code |
java.lang.Exception |
getParentException()Returns the original exception it if exists; otherwise, returns null. |
java.lang.String |
getXMLErrorString()Prints the XML error message and error tag name as a String. |
java.lang.String |
getXMLSQLErrorString()Prints the SQL error message and error parameters as a String. |
void |
setErrorTag(java.lang.String errorTag)Sets the error tag name that is subsequently used by getXMLErrorString and getXMLSQLErrorString methods to generate XML error reports. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OracleXMLSQLException(java.lang.Exception parentE)
OracleXMLSQLException object.
parentE - Parent exception
public OracleXMLSQLException(java.lang.Exception parentE,
java.lang.String errorTag)
OracleXMLSQLException object.
parentE - Parent exceptionerrorTag - Name of error Tag
public OracleXMLSQLException(java.lang.String message,
java.lang.Exception parentE,
boolean combine)
OracleXMLSQLException object.
message - The error message stringparentE - Parent exceptioncombine - combine the given message with the exception msg?
public OracleXMLSQLException(java.lang.String message,
java.lang.Exception parentE)
OracleXMLSQLException object.
message - The error message stringparentE - Parent exception
public OracleXMLSQLException(java.lang.String message,
java.lang.Exception parentE,
java.lang.String errorTag)
OracleXMLSQLException object.
message - The error message stringparentE - Parent exceptionerrorTag - The name of the error tagpublic OracleXMLSQLException(java.lang.String message)
OracleXMLSQLException object.
message - The error message string
public OracleXMLSQLException(java.lang.String message,
java.lang.String errorTag)
OracleXMLSQLException object.
message - The error message stringerrorTag - The name of the error tag
public OracleXMLSQLException(java.lang.String message,
int sqlErrorCode)
OracleXMLSQLException object.
message - The error message stringsqlErrorCode - The SQL error code
public OracleXMLSQLException(java.lang.String message,
int sqlErrorCode,
java.lang.String errorTag)
OracleXMLSQLException object.
message - The error message stringsqlErrorCode - The SQL error codeerrorTag - The name of the error tag| Method Detail |
|---|
public java.lang.String getXMLErrorString()
String.public java.lang.String getXMLSQLErrorString()
String.public java.lang.Exception getParentException()
null.public void setErrorTag(java.lang.String errorTag)
getXMLErrorString and getXMLSQLErrorString methods to generate XML error reports.errorTag - The name of the error tag.public int getErrorCode()
|
Oracle® Database XML Java API Reference 11g Release 2 (11.2) E10769-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||