KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > pim > presentation > enhydrapim > Error


1 /*
2  * Created on May 9, 2005
3  *
4  * TODO To change the template for this generated file go to
5  * Window - Preferences - Java - Code Style - Code Templates
6  */

7 package org.enhydra.pim.presentation.enhydrapim;
8
9 import org.enhydra.pim.presentation.BasePO;
10 import org.enhydra.xml.xmlc.XMLObject;
11
12 import com.lutris.appserver.server.httpPresentation.HttpPresentationException;
13
14 /**
15  * @author P.Djojic May 9, 2005 11:52:14 PM
16  *
17  * TODO Error
18  */

19 public class Error extends BasePO {
20
21     /* (non-Javadoc)
22      * @see org.enhydra.pim.presentation.BasePO#handleDefault()
23      */

24     public XMLObject handleDefault() throws HttpPresentationException {
25         return showErrorPage("Generic Error");
26     }
27
28     /* (non-Javadoc)
29      * @see org.enhydra.pim.presentation.BasePO#loggedInUserRequired()
30      */

31     protected boolean loggedInUserRequired(){
32         return false;
33     }
34
35 }
36
Popular Tags