You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Simon Laws (JIRA)" <de...@tuscany.apache.org> on 2011/06/30 12:26:28 UTC

[jira] [Created] (TUSCANY-3892) Still have hard coded error messages in code base

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