GitHub user kemsakurai opened a pull request:
https://github.com/apache/wicket/pull/215
Add hook method for exception handling to StatelessChecker
I used StatelessChecker from wicket-devutils, It is verifying whether it is
StatelessPage or not.
Currently, when it is not StatelessPage, StatelessChecker throw exceptions
always.
I logged an error and thought there was a use case I would like to check
later.
I implemented a hook method based on #208 feedback and add
StatelessCheckFailureException.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kemsakurai/wicket master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/wicket/pull/215.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #215
----
commit a787796c74b2234f262ab840299a4142fdd91236
Author: kensakurai <[email protected]>
Date: 2017-01-25T17:29:08Z
Add hook method for exception handling to StatelessChecker
* Add hook method
* Add test case to check behavior of hook method
commit 20c2b8930d2fee27c809a70824a648cff17f700c
Author: kensakurai <[email protected]>
Date: 2017-02-15T17:10:29Z
Add StatelessCheckFailureException
Add StatelessCheckFailureException
commit c39fbdc99e142c6b2c27ea79c34fe6dda98c9ec2
Author: kensakurai <[email protected]>
Date: 2017-02-18T10:48:33Z
Modify StatelessCheckerTest And fix bug.
commit 1975bf852e6692ce1c8e3a75dac4c9aca95f87ac
Author: kensakurai <[email protected]>
Date: 2017-02-18T10:59:39Z
Change Indent
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---