private < I > I destinationClassControl ( Exception exception , Class < I > clazz ) { try { if ( clazz == null ) throw new IllegalArgumentException ( "it's mandatory define the destination class" ) ; } catch ( Exception e ) { JmapperLog . error ( e ) ; return null ; } return logAndReturnNull ( exception ) ; }
This method verifies that the destinationClass exists .