1 18 package org.apache.beehive.netui.pageflow; 19 20 21 29 public class IllegalRedirectOutputFormException extends IllegalOutputFormException 30 { 31 37 public IllegalRedirectOutputFormException( String forwardName, String actionName, FlowController flowController, 38 String outputFormType ) 39 { 40 super( forwardName, actionName, flowController, outputFormType ); 41 } 42 43 protected Object [] getMessageArgs() 44 { 45 return new Object []{ getForwardName(), getActionName(), getFlowControllerURI(), getOutputFormType() }; 46 } 47 48 public String [] getMessageParts() 49 { 50 return new String [] 51 { 52 "The forward \"", "\" on action ", " in page flow ", " has at least one output form (type ", 53 "), but is set to redirect=\"true\". Output forms may not be used on redirect forwards." 54 }; 55 } 56 } 57 | Popular Tags |