org.apache.beehive.netui.pageflow
Class IllegalOutputFormTypeException
Object
Throwable
Exception
RuntimeException
PageFlowManagedObjectException
PageFlowException
IllegalOutputFormException
IllegalOutputFormTypeException
- All Implemented Interfaces:
- Serializable
public class IllegalOutputFormTypeException
- extends IllegalOutputFormException
Exception that occurs when the first output form for a Forward
resolves to a
@Jpf.Forward
annotation whose
outputFormBean
or
outputFormBeanType
attribute demands a different form type.
- See Also:
Forward.addOutputForm(java.lang.Object)
,
Serialized Form
Methods inherited from class Throwable |
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IllegalOutputFormTypeException
public IllegalOutputFormTypeException(String forwardName,
String actionName,
FlowController flowController,
String outputFormType,
String requiredType)
- Parameters:
forwardName
- the name of the relevant Forward
.actionName
- the name of the current action being run.flowController
- the current FlowController
instance.outputFormType
- the type name of the relevant output form.requiredType
- the name of the required form type.
getRequiredType
public String getRequiredType()
- Get the name of the required form type.
- Returns:
- a String that is the name of the required form type.
getMessageArgs
protected Object[] getMessageArgs()
- Specified by:
getMessageArgs
in class PageFlowManagedObjectException
getMessageParts
public String[] getMessageParts()
- Specified by:
getMessageParts
in class PageFlowManagedObjectException