1. A method for generating a control program that implements a plurality of practical means in a computer by using a generation program comprising the steps of: reading correspondence information that specifies allocation of an action to a process state stored in a storage medium in the computer; determining whether the process state in the correspondence information is either of an exceptional process state or a normal process state based on an exception attribute of the process state in the correspondence information; and generating the control program based on the correspondence information, wherein the control program implements the practical means to the computer, the practical means includes: a process state detection means for detecting the process state in process state information stored in the storage medium in the computer; a normal process handling means for performing the action allocated to the normal process state specified in the correspondence information if the process state is the normal process state; and an exceptional process handling means for performing the action allocated to the exceptional process state specified in the correspondence information if the process state is not the normal process state.