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 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(Component component, String reason)
Construct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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(Component component, String reason)
Construct.- Parameters:
component
- Failure componentreason
- Reason for exception occurrence
-
-
Method Detail
-
getComponent
public Component getComponent()
Get check failure component- Returns:
- Failure component
-
-