1 18 package org.apache.beehive.netui.pageflow; 19 20 21 26 public class UnresolvableForwardException extends PageFlowException 27 { 28 private String _forwardName; 29 30 35 public UnresolvableForwardException( String forwardName, String actionName, FlowController fc ) 36 { 37 super( actionName, fc ); 38 _forwardName = forwardName; 39 } 40 41 46 public String getForwardName() 47 { 48 return _forwardName; 49 } 50 51 56 public void setForwardName( String forwardName ) 57 { 58 _forwardName = forwardName; 59 } 60 61 protected Object [] getMessageArgs() 62 { 63 return new Object []{ _forwardName, getActionName(), getFlowControllerURI() }; 64 } 65 66 public String [] getMessageParts() 67 { 68 return new String [] 69 { 70 "Unable to find a forward named \"", "\" on action ", " in Page Flow ", "." 71 }; 72 } 73 74 78 public boolean causeMayBeSessionExpiration() 79 { 80 return false; 81 } 82 } 83 | Popular Tags |