[Yanel-dev] Exception handling of the creatable interface
Michael Wechner
michael.wechner at wyona.com
Mon Feb 11 23:43:34 CET 2008
Hi
The current create() method does not allow throwing an exception
http://yanel.wyona.org/javadoc/org/wyona/yanel/core/api/attributes/CreatableV2.html#create(HttpServletRequest)
which is bad, because if something goes wrong during creation, then one
cannot notify the application which making use of the creatable interface.
Hence I suggest to enhance it by
create(HttpServletRequest) throws Exception
WDYT?
Thanks
Michi
--
Michael Wechner
Wyona - Open Source Content Management - Yanel, Yulup
http://www.wyona.com
michael.wechner at wyona.com, michi at apache.org
+41 44 272 91 61
More information about the Yanel-development
mailing list