1 19 20 package com.lutris.airsent.presentation; 21 22 import com.lutris.appserver.server.httpPresentation.*; 23 import com.lutris.appserver.server.session.*; 24 import com.lutris.util.*; 25 import org.enhydra.xml.xmlc.XMLObject; 26 import org.w3c.dom.*; 27 import org.w3c.dom.html.*; 28 import java.util.Date ; 29 import com.lutris.airsent.presentation.BasePO; 30 31 37 public class help extends BasePO { 38 39 42 private static final int AUTH_LEVEL = AirSentConstants.UNAUTH_USER; 43 44 50 public int getRequiredAuthLevel() { 51 return AUTH_LEVEL; 52 } 53 54 57 public XMLObject handleDefault() throws HttpPresentationException { 58 return showPage(null); 59 } 60 61 67 public XMLObject handleThrowException() throws Exception { 68 throw new Exception ("This is a test exception thrown from Login.java handleThrowException()"); 69 } 70 71 77 public XMLObject showPage(String errorMsg) 78 throws AirSentPresentationException { 79 helpHTML page = 80 (helpHTML) getComms().xmlcFactory.create(helpHTML.class); 81 82 return page; 83 } 84 85 } 86 87 | Popular Tags |