You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Nimish Hathalia (JIRA)" <ji...@apache.org> on 2006/03/21 08:41:02 UTC
[jira] Created: (AXIS2-506) DescriptionBuilder and name-parameter
reading/missing
DescriptionBuilder and name-parameter reading/missing
-----------------------------------------------------
Key: AXIS2-506
URL: http://issues.apache.org/jira/browse/AXIS2-506
Project: Apache Axis 2.0 (Axis2)
Type: Improvement
Components: deployment
Versions: 0.94
Reporter: Nimish Hathalia
Priority: Minor
In the org.apache.axis2.deployment.DescriptionBuilder class's
protected ArrayList processParameters(Iterator parameters, ParameterInclude parameterInclude,
ParameterInclude parent)
throws DeploymentException;
implementation:
// setting parameter Name
OMAttribute paramName = parameterElement.getAttribute(new
QName(ATTRIBUTE_NAME));
if (paramName == null) {
throw new DeploymentException(
Messages.getMessage(DeploymentErrorMsgs.BAD_PARAMETER_ARGUMENT));
}
If a particular attribute is missing (in this case the "name" attribute),
the exception thrown does not say anything about which parameter has bad
argument. For bigger configuration files especially, it will be better to
know where exactly is the configuration failing.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Resolved: (AXIS2-506) DescriptionBuilder and name-parameter
reading/missing
Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-506?page=all ]
Deepal Jayasinghe resolved AXIS2-506:
-------------------------------------
Fix Version: 0.95
Resolution: Fixed
> DescriptionBuilder and name-parameter reading/missing
> -----------------------------------------------------
>
> Key: AXIS2-506
> URL: http://issues.apache.org/jira/browse/AXIS2-506
> Project: Apache Axis 2.0 (Axis2)
> Type: Improvement
> Components: deployment
> Versions: 0.94
> Reporter: Nimish Hathalia
> Priority: Minor
> Fix For: 0.95
>
> In the org.apache.axis2.deployment.DescriptionBuilder class's
> protected ArrayList processParameters(Iterator parameters, ParameterInclude parameterInclude,
> ParameterInclude parent)
> throws DeploymentException;
> implementation:
> // setting parameter Name
> OMAttribute paramName = parameterElement.getAttribute(new
> QName(ATTRIBUTE_NAME));
> if (paramName == null) {
> throw new DeploymentException(
> Messages.getMessage(DeploymentErrorMsgs.BAD_PARAMETER_ARGUMENT));
> }
> If a particular attribute is missing (in this case the "name" attribute),
> the exception thrown does not say anything about which parameter has bad
> argument. For bigger configuration files especially, it will be better to
> know where exactly is the configuration failing.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira