org.kuali.rice.krad.web.controller
Class MethodAccessException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.kuali.rice.core.api.exception.RiceRuntimeException
                  extended by org.kuali.rice.krad.web.controller.MethodAccessException
All Implemented Interfaces:
Serializable

public class MethodAccessException
extends RiceRuntimeException

Runtime exception thrown when a controller method is requested that is not accessible.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Constructor Summary
MethodAccessException(Class<?> controllerClass, String methodToCall)
           
 
Method Summary
 Class<?> getControllerClass()
          Class of the controller the method was requested for.
 String getMethodToCall()
          Name of the controller method that was requested.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodAccessException

public MethodAccessException(Class<?> controllerClass,
                             String methodToCall)
Method Detail

getControllerClass

public Class<?> getControllerClass()
Class of the controller the method was requested for.

Returns:
controller class

getMethodToCall

public String getMethodToCall()
Name of the controller method that was requested.

Returns:
controller method name


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.