|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.common.util.exception.SQLExceptionUnroller
public class SQLExceptionUnroller
SQLExceptionUnroller.
A utility to unroll a chained SQLException.
This utility is used to replace proprietary exceptions that may not unmarshall in other VMs that do not have the proprietary libraries.
TODO: test causes and next exceptions for non-Java then unroll
| Constructor Summary | |
|---|---|
SQLExceptionUnroller()
|
|
| Method Summary | |
|---|---|
static java.sql.SQLException |
unRollException(java.sql.SQLException theException)
Unroll a chain of possibly proprietary SQLExceptions
and create a chain of of generic SQLExceptions
with the original message (reason), SQLState, and vendorCode of the
SQLExceptions in the chain. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SQLExceptionUnroller()
| Method Detail |
|---|
public static java.sql.SQLException unRollException(java.sql.SQLException theException)
SQLExceptions
and create a chain of of generic SQLExceptions
with the original message (reason), SQLState, and vendorCode of the
SQLExceptions in the chain.
theException - The original SQLException possibly
with a chain of child exceptions.
SQLException mirroring the original
exception chain.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||