axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barend Garvelink (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Updated: (AXIS-2400) WSDL2Java : Enumerated Types : IllegalArgumentExceptions
Date Thu, 09 Feb 2006 15:05:00 GMT
     [ http://issues.apache.org/jira/browse/AXIS-2400?page=all ]

Barend Garvelink updated AXIS-2400:
-----------------------------------

    Attachment: JavaEnumTypeWriter.pacth

Attached patch file.

> WSDL2Java : Enumerated Types : IllegalArgumentExceptions
> --------------------------------------------------------
>
>          Key: AXIS-2400
>          URL: http://issues.apache.org/jira/browse/AXIS-2400
>      Project: Apache Axis
>         Type: Improvement
>   Components: Serialization/Deserialization
>     Versions: 1.3
>     Reporter: Barend Garvelink
>  Attachments: JavaEnumTypeWriter.pacth
>
> The enumerated types generated by wsdl2java throw IllegalArgumentException() in their
fromString() and fromValue() methods. This IllegalArgumentException does not carry a message
string. This can be awkward when the code is run in an application server and you have only
the server logs with which to diagnose a problem.
> The attached patch generates a simple text message into each IllegalArgumentException
that gets thrown. The message contains the value that was used for input.

-- 
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


Mime
View raw message