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 "Venkat Reddy (JIRA)" <ax...@ws.apache.org> on 2004/10/25 14:35:12 UTC

[jira] Commented: (AXIS-988) SOAPBodyElement / MessageElement getAsDOM() should not throw java.lang.Exception

     [ http://issues.apache.org/jira/browse/AXIS-988?page=comments#action_54576 ]
     
Venkat Reddy commented on AXIS-988:
-----------------------------------

Its a bunch of Exceptions that we actually need to throw - IOException, DOMException, SAXException, ParserConfigurationException. But fixing this will need changes to several other methods in the same class.

Dims, should we set this bug as "to be fixed in Axis 2.0" and reduce priority for now?

> SOAPBodyElement / MessageElement getAsDOM() should not throw java.lang.Exception
> --------------------------------------------------------------------------------
>
>          Key: AXIS-988
>          URL: http://issues.apache.org/jira/browse/AXIS-988
>      Project: Axis
>         Type: Bug
>   Components: SAAJ
>     Versions: 1.1
>  Environment: Operating System: Other
> Platform: Other
>     Reporter: Dr. Andreas Krüger
>     Priority: Blocker

>
> The method org.apache.axis.message.MessageElement.getAsDOM() has a throws-clause
> "throws (java.lang.)Exception".
> This should be refactored to the exceptions that can really happen.
> I could not find the javadoc of AXIS publicly available to link to,
> but you can find the code through
> http://cvs.apache.org/viewcvs.cgi/xml-axis/java/src/org/apache/axis/message/MessageElement.java?rev=HEAD&content-type=text/vnd.viewcvs-markup

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Re: [jira] Commented: (AXIS-988) SOAPBodyElement / MessageElement getAsDOM() should not throw java.lang.Exception

Posted by Davanum Srinivas <da...@gmail.com>.
yep


On Mon, 25 Oct 2004 05:35:12 -0700 (PDT), Venkat Reddy (JIRA)
<ax...@ws.apache.org> wrote:
>      [ http://issues.apache.org/jira/browse/AXIS-988?page=comments#action_54576 ]
> 
> Venkat Reddy commented on AXIS-988:
> -----------------------------------
> 
> Its a bunch of Exceptions that we actually need to throw - IOException, DOMException, SAXException, ParserConfigurationException. But fixing this will need changes to several other methods in the same class.
> 
> Dims, should we set this bug as "to be fixed in Axis 2.0" and reduce priority for now?
> 
> > SOAPBodyElement / MessageElement getAsDOM() should not throw java.lang.Exception
> > --------------------------------------------------------------------------------
> >
> >          Key: AXIS-988
> >          URL: http://issues.apache.org/jira/browse/AXIS-988
> >      Project: Axis
> >         Type: Bug
> >   Components: SAAJ
> >     Versions: 1.1
> >  Environment: Operating System: Other
> > Platform: Other
> >     Reporter: Dr. Andreas Krüger
> >     Priority: Blocker
> 
> >
> > The method org.apache.axis.message.MessageElement.getAsDOM() has a throws-clause
> > "throws (java.lang.)Exception".
> > This should be refactored to the exceptions that can really happen.
> > I could not find the javadoc of AXIS publicly available to link to,
> > but you can find the code through
> > http://cvs.apache.org/viewcvs.cgi/xml-axis/java/src/org/apache/axis/message/MessageElement.java?rev=HEAD&content-type=text/vnd.viewcvs-markup
> 
> --
> 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
> -
> If you want more information on JIRA, or have a bug to report see:
>    http://www.atlassian.com/software/jira
> 
> 


-- 
Davanum Srinivas - http://webservices.apache.org/~dims/