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 "Davanum Srinivas (JIRA)" <ji...@apache.org> on 2007/04/05 16:25:33 UTC
[jira] Updated: (AXIS2-2365) Better exception type if failed length
check
[ https://issues.apache.org/jira/browse/AXIS2-2365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davanum Srinivas updated AXIS2-2365:
------------------------------------
Assignee: Amila Chinthaka Suriarachchi
> Better exception type if failed length check
> --------------------------------------------
>
> Key: AXIS2-2365
> URL: https://issues.apache.org/jira/browse/AXIS2-2365
> Project: Axis 2.0 (Axis2)
> Issue Type: Improvement
> Components: adb
> Affects Versions: nightly
> Reporter: Full Name
> Assigned To: Amila Chinthaka Suriarachchi
>
> If a ADB setter is called with an invalid lenght string, a Runtime>Excpetion without any further information is being thrown. A specialized excpetion would be usefull.
> if ( (10 < java.lang.String.valueOf(param).length()) &&
> (java.lang.String.valueOf(param).length() >= 80) ) {
> this.value=param;
> }
> else {
> throw new
> java.lang.RuntimeException();
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org