/** * For the given SQLException, locates the X/Open-compliant SQLState's class code. * * @param sqlException The exception from which to extract the SQLState class code * @return The SQLState class code, or null. */ public static String extractSqlStateClassCode(SQLException sqlException) { return determineSqlStateClassCode( extractSqlState( sqlException ) ); }
String sqlStateClassCode = JdbcExceptionHelper.determineSqlStateClassCode( sqlState );
/** * For the given SQLException, locates the X/Open-compliant SQLState's class code. * * @param sqlException The exception from which to extract the SQLState class code * @return The SQLState class code, or null. */ public static String extractSqlStateClassCode(SQLException sqlException) { return determineSqlStateClassCode( extractSqlState( sqlException ) ); }
/** * For the given SQLException, locates the X/Open-compliant SQLState's class code. * * @param sqlException The exception from which to extract the SQLState class code * @return The SQLState class code, or null. */ public static String extractSqlStateClassCode(SQLException sqlException) { return determineSqlStateClassCode( extractSqlState( sqlException ) ); }
/** * For the given SQLException, locates the X/Open-compliant SQLState's class code. * * @param sqlException The exception from which to extract the SQLState class code * @return The SQLState class code, or null. */ public static String extractSqlStateClassCode(SQLException sqlException) { return determineSqlStateClassCode( extractSqlState( sqlException ) ); }
String sqlStateClassCode = JdbcExceptionHelper.determineSqlStateClassCode( sqlState );
String sqlStateClassCode = JdbcExceptionHelper.determineSqlStateClassCode( sqlState );
String sqlStateClassCode = JdbcExceptionHelper.determineSqlStateClassCode( sqlState );