1 18 package org.apache.beehive.netui.pageflow; 19 20 21 34 public class SessionExpiredException 35 extends PageFlowException 36 { 37 private PageFlowException _effect; 38 39 public SessionExpiredException( PageFlowException effect ) 40 { 41 super( effect.getActionName(), effect.getFlowController() ); 42 _effect = effect; 43 } 44 45 protected Object [] getMessageArgs() 46 { 47 return new Object []{ getActionName(), getFlowControllerURI() }; 48 } 49 50 protected String [] getMessageParts() 51 { 52 return new String [] 53 { 54 "Action ", " on page flow ", " cannot be completed because the user session has expired." 55 }; 56 } 57 58 62 public Throwable getEffect() 63 { 64 return _effect; 65 } 66 67 72 public boolean causeMayBeSessionExpiration() 73 { 74 return false; 75 } 76 } 77 | Popular Tags |