3 Replies Latest reply on Apr 10, 2013 9:40 PM by kcbabo

    Does SwitchYard Bean Services support multiple Fault responses?

    jeffdelong

      I deployed a service with two Fault Operations in SwitchYard 0.8 and got

       

      S014774: Service status report

      JBAS014777:   Services which failed to start:      service jboss.deployment.unit."purchasing-Store-0.0.1-SNAPSHOT.jar".SwitchYardService: org.jboss.msc.service.StartException in service jboss.deployment.unit."purchasing-Store-0.0.1-SNAPSHOT.jar".SwitchYardService: org.switchyard.exception.SwitchYardException: Service operations on a Java interface can only throw one type of exception.

       

      12:13:11,652 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"purchasing-Store-0.0.1-SNAPSHOT.jar\".SwitchYardService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"purchasing-Store-0.0.1-SNAPSHOT.jar\".SwitchYardService: org.switchyard.exception.SwitchYardException: Service operations on a Java interface can only throw one type of exception."}}}}

       

       

      Will this be fixed for 1.0?