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
public class StatelessCheckFailureException extends org.apache.wicket.WicketRuntimeException
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StatelessCheckFailureException(org.apache.wicket.Component component, String reason)
Construct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.wicket.Component
getComponent()
Get check failure component-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
StatelessCheckFailureException
public StatelessCheckFailureException(org.apache.wicket.Component component, String reason)
Construct.- Parameters:
component
- Failure componentreason
- Reason for exception occurrence
-
-