Example usage for org.apache.wicket.behavior Behavior onException

List of usage examples for org.apache.wicket.behavior Behavior onException

Introduction

In this page you can find the example usage for org.apache.wicket.behavior Behavior onException.

Prototype

public void onException(Component component, RuntimeException exception) 

Source Link

Document

In case an unexpected exception happened anywhere between #onComponentTag(org.apache.wicket.Component,org.apache.wicket.markup.ComponentTag) and #afterRender(org.apache.wicket.Component) , onException() will be called for any behavior.

Usage

From source file:org.wicketstuff.minis.behavior.CompositeBehavior.java

License:Apache License

public void exception(final Component component, final RuntimeException aException) {
    for (final Behavior behavior : behaviors_)
        behavior.onException(component, aException);
}