KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > portlet > exomvc > exception > ExceptionHandler


1 /***************************************************************************
2  * Copyright 2001-2003 The eXo Platform SARL All rights reserved. *
3  * Please look at license.txt in info directory for more license detail. *
4  **************************************************************************/

5 package org.exoplatform.portlet.exomvc.exception;
6
7 import javax.portlet.ActionRequest;
8 import javax.portlet.ActionResponse;
9 import javax.portlet.RenderRequest;
10 import javax.portlet.RenderResponse;
11 import org.exoplatform.portlet.exomvc.config.PageConfig;
12 /**
13  * @author Tuan Nguyen (tuan08@users.sourceforge.net)
14  * @since Nov 11, 2004
15  * @version $Id$
16  */

17 public interface ExceptionHandler {
18   
19   public boolean canHandle(Throwable JavaDoc t) ;
20   
21   public void handle(PageConfig config, Throwable JavaDoc t, ActionRequest req, ActionResponse res) ;
22   
23   public void handle(PageConfig config, Throwable JavaDoc t, RenderRequest req, RenderResponse res) ;
24 }
Popular Tags