void handleSqlException ( SQLException e ) throws StageException { String formattedError = jdbcUtil . formatSqlException ( e ) ; LOG . error ( formattedError , e ) ; throw new StageException ( JdbcErrors . JDBC_14 , e . getSQLState ( ) , e . getErrorCode ( ) , e . getMessage ( ) , formattedError , e ) ; }
This is an error that is not due to bad input record and should throw a StageException once we format the error .