Class 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 Detail

      • StatelessCheckFailureException

        public StatelessCheckFailureException​(org.apache.wicket.Component component,
                                              String reason)
        Construct.
        Parameters:
        component - Failure component
        reason - Reason for exception occurrence
    • Method Detail

      • getComponent

        public org.apache.wicket.Component getComponent()
        Get check failure component
        Returns:
        Failure component