1 package projectmanagement.presentation; 2 3 import com.lutris.logging.*; 4 import com.lutris.appserver.server.httpPresentation.*; 5 import com.lutris.appserver.server.*; 6 import java.io.*; 7 8 14 public class AuthorizationError implements HttpPresentation { 15 16 22 public void run(HttpPresentationComms comms) 23 throws HttpPresentationException { 24 25 AuthorizationErrorHTML page = new AuthorizationErrorHTML(); 26 String aem="You either don't have appropriate authorization level "+ 27 "to execute wanted action or your session data dissapeared!"+ 28 "Please, log in with appropriate authorization so you can "+ 29 "get access to the wanted action item."; 30 page.setTextLblAuthorizationErrorMessage(aem); 31 32 comms.response.writeDOM(page); 33 } 34 } 35 | Popular Tags |