A switch device includes a memory unit for storing therein an error response for each error event to be sent in response at the time of a failure with respect to a control signal that controls a storage device connected to the switch device, an error response output unit for receiving input of the control signal and sequentially outputting each error response stored in the memory unit, an operation information computing unit for detecting an operation of a calculating device, which is connected to the switch device, corresponding to each error response output by the error response output unit and for obtaining, as operation information, a condition defining the operation of the calculating device upon receiving each error response, and an operation setting unit for setting operation condition at the time of a failure based on the operation information.