[opencms-dev] A method into a JSP
Jorge González
informatico at hotelparadisepark.com
Wed Dec 15 12:21:04 CET 2004
> unreported exception com.opencms.core.CmsException; must be caught or
declared to be thrown
> Vector vector = cmso.getChild(groupName);
^
>1 error
Well, you have to declare o catch the exception thrown by getChild
try{
Vector vector = cmso.getChild(groupName);
}
catch(com.opencms.core.CmsException cmse)
{
// process the exception
log.debug(cmse);
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 1788 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20041215/7fb4aa97/attachment.bin>
More information about the opencms-dev
mailing list