UnfulfilledRolesException Class

com.bea.wlw.netui.pageflow
UnfulfilledRolesException Class

public class UnfulfilledRolesException

    extends PageFlowException

Exception that is thrown when an action method marked with @jpf:action roles-allowed="roles" is hit when there is a logged-in user who does not fulfil any of the given roles.


Hierarchy
Object
  Throwable
    Exception
      RuntimeException
        PageFlowException
          UnfulfilledRolesException
All Implemented Interfaces

Serializable

Constructor Summary

UnfulfilledRolesException(String roleNames, String rolesList, String actionName, FlowController fc)

Construct on the list of roles that were allowed access to the action.
 

Method Summary

protected Object[]
getMessageArgs()
public String[]
getMessageParts()
public String[]
getRoleNames()
Get the names of the roles that were allowed access to the action.
 
Methods from  com.bea.wlw.netui.pageflow.PageFlowException
getActionName, getFlowController, getFlowControllerURI, getLocalizedMessage, getMessage, printError, sendError
 
Methods from  java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   

Constructor Detail

UnfulfilledRolesException

public UnfulfilledRolesException(String[] roleNames, 
                                 String rolesList, 
                                 String actionName, 
                                 FlowController fc)
Construct on the list of roles that were allowed access to the action.
 

Method Detail

getMessageArgs() Method

protected Object[] getMessageArgs()
Overrides
PageFlowException.getMessageArgs()

getMessageParts() Method

public String[] getMessageParts()
Overrides
PageFlowException.getMessageParts()

getRoleNames() Method

public String[] getRoleNames()
Get the names of the roles that were allowed access to the action.

Returns

an array of String role names.