public static void handleSqlExceptions(SQLException ex)
		{
			while (ex != null) {
				System.out.println("SQLException: " + ex.getMessage());
				System.out.println("SQLState: " + ex.getSQLState());
				System.out.println("VendorError: " + ex.getErrorCode());
				ex = ex.getNextException();
			}
		}