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