< T extends Validatable > void validatePOJO ( final T pojo , final String name ) { try { pojo . validate ( ) ; } catch ( final IllegalArgumentException e ) { throw new IllegalArgumentException ( "Invalid " + name , e ) ; } }
Validate a single POJO validate