oracle.xml.sql
Class OracleXMLSQLException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--oracle.xml.sql.OracleXMLSQLException
- Direct Known Subclasses:
- OracleXMLSQLNoRowsException
- public class OracleXMLSQLException
- extends java.lang.RuntimeException
- See Also:
- Serialized Form
Type | Method |
int |
getErrorCode()
|
java.lang.Exception |
getParentException()
returns the original exception, if there was one; otherwise, it
returns null |
java.lang.String |
getXMLErrorString()
prints the XML error string with the given error tag name |
java.lang.String |
getXMLSQLErrorString()
prints the SQL parameters as well in the error message |
void |
setErrorTag(java.lang.String tagName)
Sets the error tag name which is then used by getXMLErrorString and
getXMLSQLErrorString, to generate xml error reports |
Methods inherited from class java.lang.Throwable |
fillInStackTrace,
getLocalizedMessage,
getMessage,
printStackTrace,
printStackTrace,
printStackTrace,
toString |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
OracleXMLSQLException
public OracleXMLSQLException(java.lang.Exception e)
OracleXMLSQLException
public OracleXMLSQLException(java.lang.Exception e,
java.lang.String errorTagName)
OracleXMLSQLException
public OracleXMLSQLException(java.lang.String message,
java.lang.Exception e)
OracleXMLSQLException
public OracleXMLSQLException(java.lang.String message,
java.lang.Exception e,
java.lang.String errorTagName)
OracleXMLSQLException
public OracleXMLSQLException(java.lang.String message)
OracleXMLSQLException
public OracleXMLSQLException(java.lang.String message,
java.lang.String errorTagName)
OracleXMLSQLException
public OracleXMLSQLException(java.lang.String message,
int errorCode)
OracleXMLSQLException
public OracleXMLSQLException(java.lang.String message,
int errorCode,
java.lang.String errorTagName)
getXMLErrorString
public java.lang.String getXMLErrorString()
- prints the XML error string with the given error tag name
getXMLSQLErrorString
public java.lang.String getXMLSQLErrorString()
- prints the SQL parameters as well in the error message
getParentException
public java.lang.Exception getParentException()
- returns the original exception, if there was one; otherwise, it
returns null
setErrorTag
public void setErrorTag(java.lang.String tagName)
- Sets the error tag name which is then used by getXMLErrorString and
getXMLSQLErrorString, to generate xml error reports
getErrorCode
public int getErrorCode()