|
||||||||||
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
The OracleXMLSQLException
class is the generic runtime
exception thrown by the XSU.
Constructor Summary | |
OracleXMLSQLException(java.lang.Exception e)
Constructor for the OracleXMLSQLException object. |
|
OracleXMLSQLException(java.lang.Exception e,
java.lang.String errorTagName)
Constructor for the OracleXMLSQLException object. |
|
OracleXMLSQLException(java.lang.String message)
Constructor for the OracleXMLSQLException object. |
|
OracleXMLSQLException(java.lang.String message,
java.lang.Exception e)
Constructor for the OracleXMLSQLException object. |
|
OracleXMLSQLException(java.lang.String message,
java.lang.Exception e,
java.lang.String errorTagName)
Constructor for the OracleXMLSQLException object. |
|
OracleXMLSQLException(java.lang.String message,
int errorCode)
Constructor for the OracleXMLSQLException object. |
|
OracleXMLSQLException(java.lang.String message,
int errorCode,
java.lang.String errorTagName)
Constructor for the OracleXMLSQLException object. |
|
OracleXMLSQLException(java.lang.String message,
java.lang.String errorTagName)
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 tagName)
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 e)
OracleXMLSQLException
object.
e
- Parent exceptionpublic OracleXMLSQLException(java.lang.Exception e, java.lang.String errorTagName)
OracleXMLSQLException
object.
e
- Parent exceptionerrorTagName
- Name of error Tagpublic OracleXMLSQLException(java.lang.String message, java.lang.Exception e)
OracleXMLSQLException
object.
message
- The error message stringe
- Parent exceptionpublic OracleXMLSQLException(java.lang.String message, java.lang.Exception e, java.lang.String errorTagName)
OracleXMLSQLException
object.
message
- The error message stringe
- Parent exceptionerrorTagName
- The name of the error tagpublic OracleXMLSQLException(java.lang.String message)
OracleXMLSQLException
object.
message
- The error message stringpublic OracleXMLSQLException(java.lang.String message, java.lang.String errorTagName)
OracleXMLSQLException
object.
message
- The error message stringerrorTagName
- The name of the error tagpublic OracleXMLSQLException(java.lang.String message, int errorCode)
OracleXMLSQLException
object.
message
- The error message stringerrorCode
- The SQL error codepublic OracleXMLSQLException(java.lang.String message, int errorCode, java.lang.String errorTagName)
OracleXMLSQLException
object.
message
- The error message stringerrorCode
- The SQL error codeerrorTagName
- The name of the error tagMethod 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 tagName)
getXMLErrorString
and
getXMLSQLErrorString
methods to generate XML error
reports.
tagName
- The name of the tag.public int getErrorCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |