org.apache.wicket.authorization
Class UnauthorizedInstantiationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.wicket.WicketRuntimeException
                  extended by org.apache.wicket.authorization.AuthorizationException
                      extended by org.apache.wicket.authorization.UnauthorizedInstantiationException
All Implemented Interfaces:
java.io.Serializable

public class UnauthorizedInstantiationException
extends AuthorizationException

Exception that is thrown when the creation of a component is not allowed.

Author:
Eelco Hillenius, Jonathan Locke
See Also:
Serialized Form

Constructor Summary
UnauthorizedInstantiationException(java.lang.Class componentClass)
          Construct.
 
Method Summary
 java.lang.Class getComponentClass()
           
 
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

UnauthorizedInstantiationException

public UnauthorizedInstantiationException(java.lang.Class componentClass)
Construct.

Parameters:
componentClass - The unauthorized component class
Method Detail

getComponentClass

public java.lang.Class getComponentClass()
Returns:
The component class that could not be instantiated


Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.