[ 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to