*/
public void forAllExceptions(String template, Properties attributes)
throws XDocletException
{
Collection exceptions;
XExecutableMember executableMember = getCurrentMethod();
if (executableMember == null) {
exceptions = new ArrayList();
}
else {
exceptions = executableMember.getThrownExceptions();
}
for (Iterator iter = exceptions.iterator(); iter.hasNext(); ) {
pushCurrentClass((XClass) iter.next());
generate(template);