void function ( final boolean arg0 , final String arg1 , Object ... arg2 ) { if ( ! arg0 ) { final String loc0 = Services . get ( IMsgBL . class ) . formatMessage ( arg1 , arg2 ) ; throw mkEx ( defaultExClazz , "srini_string" + loc0 ) ; } }
this method similar to #assume boolean , string , object , but the message should be formulated in terms of an error message instead of an assumption . example : instead of `` parameter ` xy ' is not null '' description of the assumption that was violated , one should write `` parameter ` xy ' is null '' description of the error . concode_field_sep Class<? extends RuntimeException> defaultExClazz concode_field_sep RuntimeException mkEx concode_elem_sep void assumeNull concode_elem_sep void setDefaultExClass concode_elem_sep boolean isEmpty concode_elem_sep boolean isEmpty concode_elem_sep boolean isEmpty concode_elem_sep boolean isEmpty concode_elem_sep void assume concode_elem_sep void errorIf concode_elem_sep void assumeNotNull