* Tests various nested exceptions to see if the expected SQLState is
* returend.
*/
public void testCreateThrowable_02() {
testCreateThrowable(
new CommunicationException(new ConnectException(
"A test java.net.ConnectException"), //$NON-NLS-1$
"Test Communication Exception with a ConnectException in it"), //$NON-NLS-1$
SQLStates.CONNECTION_EXCEPTION_SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION);
testCreateThrowable(new CommunicationException(new SocketException(
"A test java.net.SocketException"), //$NON-NLS-1$
"Test Communication Exception with a SocketException in it"), //$NON-NLS-1$
SQLStates.CONNECTION_EXCEPTION_STALE_CONNECTION);
testCreateThrowable(
new TeiidException(new SocketTimeoutException(