Class StatelessCheckFailureException

  • All Implemented Interfaces:
    java.io.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, java.lang.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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • StatelessCheckFailureException

        public StatelessCheckFailureException​(org.apache.wicket.Component component,
                                              java.lang.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