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 "Jonathan Luckcuck (JIRA)" <ji...@apache.org> on 2008/02/22 23:19:19 UTC

[jira] Updated: (AXIS2-3534) Schema restrictions result in a no-args RuntimeException being thrown.

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

Jonathan Luckcuck updated AXIS2-3534:
-------------------------------------

    Summary: Schema restrictions result in a no-args RuntimeException being thrown.  (was: SchemaPropertyLoader fails to load org.apache.adb.properties file)

> Schema restrictions result in a no-args RuntimeException being thrown.
> ----------------------------------------------------------------------
>
>                 Key: AXIS2-3534
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3534
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.3
>         Environment: Windows XP, Java 1.5.09
>            Reporter: Jonathan Luckcuck
>            Priority: Minor
>             Fix For: 1.3
>
>
> The default ModifiedADBBeanTemplate.xsl throws a no args RuntimeException for all restrictions found in the given schema.  It would be useful if the RuntimeException could include some sort of message such as
> throw new java.lang.RuntimeException("Failed schema validation for property [<xsl:value-of select="$javaName"/>] and value [" + param + "]");
> This would enable client code to parse the eception to fiure out there was a schema validation error.  
> Alternately, it would also be really usefull to be able to turn the client stub validation off completely.

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