throw assertionexception with a given message . use this method surrounded with if block with assert condition in case you plan to do string concatenation to producethe message . concode_field_sep PlaceHolder placeHolder concode_field_sep void assertCondition concode_elem_sep T assertNotNull
void function ( String arg0 ) { throw new AssertionException ( arg0 ) ; }