Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
try {
} catch (Exception e) {
if (e instanceof java.sql.SQLException) {
java.sql.SQLException ne = ((java.sql.SQLException) e).getNextException();
if (ne != null) {
throw new Exception(e.getMessage() + ", next:" + ne.getMessage(), e);
} else {
throw e;
}
} else {
throw e;
}
}