[ 
https://issues.apache.org/jira/browse/AXIS2-5975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Lazarski reassigned AXIS2-5975:
--------------------------------------

    Assignee: Robert Lazarski

> More specific Runtime Exceptions instead of just "Input values do not follow 
> defined XSD restrictions"
> ------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5975
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5975
>             Project: Axis2
>          Issue Type: Improvement
>            Reporter: Lino Lendi
>            Assignee: Robert Lazarski
>            Priority: Major
>
> 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.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org

Reply via email to