Module org.apache.wicket.core
Package 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
Exception that is thrown when the creation of a component is not allowed.
- Author:
- Eelco Hillenius, Jonathan Locke
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnauthorizedInstantiationException
Construct.- Type Parameters:
T
- The component type.- Parameters:
componentClass
- The unauthorized component class
-
-
Method Details
-
getComponentClass
- Returns:
- The component class that could not be instantiated
-