ExceptionsをFlowInvlaidに移行