public static void checkExec ( final boolean condition , final String message , final Object ... args ) { if ( ! condition ) { throw new MethodExecutionException ( String . format ( message , args ) ) ; } }
Shortcut to check and throw execution exception .