def METHOD_NAME(self, fsm):
    if fsm.getDebugFlag() == True:
        fsm.getDebugStream().write('TRANSITION   : Default\n')
    msg = "\n\tState: %s\n\tTransition: %s" % (
        fsm.getState().getName(), fsm.getTransition())
    raise statemap.TransitionUndefinedException, msg