org.apache.wicket.authorization
Class UnauthorizedInstantiationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.wicket.WicketRuntimeException
org.apache.wicket.authorization.AuthorizationException
org.apache.wicket.authorization.UnauthorizedInstantiationException
- All Implemented Interfaces:
- 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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
UnauthorizedInstantiationException
public UnauthorizedInstantiationException(Class<T> componentClass)
- Construct.
- Type Parameters:
T
- The component type.- Parameters:
componentClass
- The unauthorized component class
getComponentClass
public Class<? extends IRequestableComponent> getComponentClass()
- Returns:
- The component class that could not be instantiated
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.