1 18 package org.apache.beehive.netui.pageflow; 19 20 import org.apache.beehive.netui.util.Bundle; 21 22 23 33 public class NoMatchingActionMethodException extends PageFlowException 34 { 35 private String _formClassName; 36 37 38 public NoMatchingActionMethodException( String actionName, Object form, FlowController fc ) 39 { 40 super( actionName, fc ); 41 _formClassName = 42 form != null ? form.getClass().getName() : Bundle.getString( "PageFlow_NoFormString" ); 43 } 44 45 public String getFormClassName() 46 { 47 return _formClassName; 48 } 49 50 protected Object [] getMessageArgs() 51 { 52 return new Object []{ getActionName(), _formClassName, getFlowControllerURI() }; 53 } 54 55 protected String [] getMessageParts() 56 { 57 return new String [] 58 { 59 "Could not find matching action method for action=", ", form=", " on Page Flow ", "." 60 }; 61 } 62 63 67 public boolean causeMayBeSessionExpiration() 68 { 69 return false; 70 } 71 } 72 | Popular Tags |