// while using the Java 8 constructor
BatchUpdateException batch = new BatchUpdateException
( message, sqlState, errorCode, squashLongs( updateCounts ) );
if ( cause instanceof SQLException ) { batch.setNextException( (SQLException) cause ); }
batch.initCause( cause );
return batch;
}
/** Squash an array of longs into an array of ints */