You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ad...@apache.org on 2013/06/06 06:25:48 UTC
svn commit: r1490126 -
/ofbiz/trunk/framework/webtools/webapp/webtools/XsdToJava.ftl
Author: adrianc
Date: Thu Jun 6 04:25:48 2013
New Revision: 1490126
URL: http://svn.apache.org/r1490126
Log:
XSD-to-Java bug fix - added missing throws clause.
Modified:
ofbiz/trunk/framework/webtools/webapp/webtools/XsdToJava.ftl
Modified: ofbiz/trunk/framework/webtools/webapp/webtools/XsdToJava.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/webapp/webtools/XsdToJava.ftl?rev=1490126&r1=1490125&r2=1490126&view=diff
==============================================================================
--- ofbiz/trunk/framework/webtools/webapp/webtools/XsdToJava.ftl (original)
+++ ofbiz/trunk/framework/webtools/webapp/webtools/XsdToJava.ftl Thu Jun 6 04:25:48 2013
@@ -129,7 +129,7 @@ under the License.
</#if>
<#if !(xsdElement.getAttribute("abstract") == "true")>
- public ${className}(Element element) {
+ public ${className}(Element element) throws ${exceptionClassName} {
<#-- Class field assignments -->
<#if attributeElements?exists>
<#list attributeElements as attributeElement>