Lino Lendi created AXIS2-5975:
---------------------------------
Summary: More specific Runtime Exceptions
Key: AXIS2-5975
URL: https://issues.apache.org/jira/browse/AXIS2-5975
Project: Axis2
Issue Type: Improvement
Reporter: Lino Lendi
As of now the created function checks the XSD restrictions and if they are not
met throws a RuntimeException:
throw new java.lang.RuntimeException(
"Input values do not follow defined XSD restrictions");
As we know more about the restrictions, since we check them, it would be nice,
if these additional informations could also be added to the message of the
exceptions.
For example if the test was:
if ((param != null) && (param.length < 1)) ,
instead of just: "Input values do not follow defined XSD restrictions", we
could say more about the param, "Input values do not follow defined XSD
restrictions; param.length < 1".
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]