check that a state tansition is valid and throw an exception if not concode_field_sep String name concode_elem_sep boolean[][] statemap concode_elem_sep Service.STATE state concode_field_sep Service.STATE getState concode_elem_sep Service.STATE enterState concode_elem_sep void ensureCurrentState concode_elem_sep boolean isValidStateTransition concode_elem_sep String toString concode_elem_sep boolean isInState
void function ( String arg0 , Service . STATE arg1 , Service . STATE arg2 ) { if ( ! isValidStateTransition ( arg1 , arg2 ) ) { throw new ServiceStateException ( arg0 + "srini_string" + arg2 + "srini_string" + arg1 ) ; } }