added exception handlers to outcome and state parameters