Still have hard coded error messages in code base
-------------------------------------------------

                 Key: TUSCANY-3892
                 URL: https://issues.apache.org/jira/browse/TUSCANY-3892
             Project: Tuscany
          Issue Type: Improvement
          Components: SCA Java Runtime
    Affects Versions: Java-SCA-2.0-Beta2
            Reporter: Simon Laws
            Priority: Minor
             Fix For: Java-SCA-2.0


I just noticed in binding.ws Axis2ReferenceBindingProvider the following:

        if (wsBinding.isRpcEncoded()){
            throw new ServiceRuntimeException("rpc/encoded WSDL style not 
supported. Component " + endpointReference.getComponent().getName() +
                                              " Reference " + 
endpointReference.getReference() +
                                              " Binding " + 
endpointReference.getBinding().getName());
        } 

We're pretty good at read/resolve/build time re. putting messages in a 
properties file but we still have some runtime errors that are hard coded. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to