public static < T > Constructor < T > getConstructor ( Class < T > cls , Class ... params ) { try { return cls . getConstructor ( params ) ; } catch ( Exception e ) { throw new ClientException ( e ) ; } }
Finds a constructor and hides all checked exceptions .