Module org.apache.wicket.devutils
Class StatelessCheckFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.wicket.WicketRuntimeException
org.apache.wicket.devutils.stateless.StatelessCheckFailureException
- All Implemented Interfaces:
Serializable
Just an exception that can be thrown if a StatelessChecker is invoked, the component being checked is not stateless
or the behavior held by the component is not stateless.
Includes a method that to get check failure component.
- Author:
- Ken Sakurai
- See Also:
-
Constructor Summary
ConstructorDescriptionStatelessCheckFailureException
(Component component, String reason) Construct. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
StatelessCheckFailureException
Construct.- Parameters:
component
- Failure componentreason
- Reason for exception occurrence
-
-
Method Details
-
getComponent
Get check failure component- Returns:
- Failure component
-