1819202122232425262728
try { Action a = (Action) InstancePool.get( "com.dotmarketing.portlets.workflowmessages.c.a.ViewWorkflowMessagesPortletAction"); a.run(req, res); } catch (ActionException ae) { throw new PortletException(ae); }
132133134135136137138139140141142
if (obj instanceof Action) { Action a = (Action)obj; try { a.run(req, res); } catch (Exception e) { throw new ActionException(e); } }