public static void checkArgument ( boolean condition , String errorMessage ) { if ( ! condition ) { throw new ApplicationException ( ApplicationException . Code . INVALID_INPUT , errorMessage ) ; } }
Ensures the truth of an condition involving one or more parameters to the calling method .