1 18 package org.apache.beehive.netui.pageflow; 19 20 21 24 public class MissingActionOutputException 25 extends PageFlowException 26 { 27 private String _actionOutputName; 28 private String _forwardName; 29 30 public MissingActionOutputException( String actionName, FlowController flowController, String actionOutputName, 31 String forwardName ) 32 { 33 super( actionName, flowController ); 34 _actionOutputName = actionOutputName; 35 _forwardName = forwardName; 36 } 37 38 protected Object [] getMessageArgs() 39 { 40 return new Object []{ _actionOutputName, _forwardName, getActionName(), getFlowControllerURI() }; 41 } 42 43 protected String [] getMessageParts() 44 { 45 return new String []{ "The required action output \"", "\" was not present on forward \"", 46 "\" (action ", " in Page Flow ", ")." }; 47 } 48 49 public String getActionOutputName() 50 { 51 return _actionOutputName; 52 } 53 54 public String getForwardName() 55 { 56 return _forwardName; 57 } 58 59 63 public boolean causeMayBeSessionExpiration() 64 { 65 return false; 66 } 67 } 68 | Popular Tags |