public static void checkCondition ( boolean condition , String msg , Object ... args ) { if ( ! condition ) { throw new IllegalArgumentException ( format ( msg , args ) ) ; } }
Checks the truth of the given condition checking parameters validity .