org.kuali.student.common.ui.client.mvc
Class ModelNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.kuali.student.common.ui.client.mvc.ModelNotFoundException
All Implemented Interfaces:
Serializable

public class ModelNotFoundException
extends RuntimeException

Passed to ModelRequestCallback when the model is not found.

Author:
Kuali Student Team
See Also:
Serialized Form

Constructor Summary
ModelNotFoundException(String message, Class<?> requestedType)
          This constructs a ModelNotFoundException
 
Method Summary
 Class<?> getRequestedType()
          Returns the type associated with the model request
 
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

ModelNotFoundException

public ModelNotFoundException(String message,
                              Class<?> requestedType)
This constructs a ModelNotFoundException

Parameters:
message -
requestedType - the type associated with the model request
Method Detail

getRequestedType

public Class<?> getRequestedType()
Returns the type associated with the model request

Returns:
the type associated with the model request


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.