|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.RequestCycle
org.apache.wicket.protocol.http.WebRequestCycle
net.databinder.ExceptionFilteringRequestCycle
public abstract class ExceptionFilteringRequestCycle
Request cycle that logs runtime exceptions as warnings if their origin matches a pattern. RequestCycle logs any uncaught exception as an error.
| Field Summary |
|---|
| Fields inherited from class org.apache.wicket.RequestCycle |
|---|
application, processor, request, response |
| Constructor Summary | |
|---|---|
ExceptionFilteringRequestCycle(org.apache.wicket.protocol.http.WebApplication application,
org.apache.wicket.protocol.http.WebRequest request,
org.apache.wicket.Response response)
|
|
| Method Summary | |
|---|---|
protected void |
logRuntimeException(java.lang.RuntimeException e)
Logs runtime exception as warning if it matches the warnOnlySource pattern. |
static void |
setWarnOnlySource(java.util.regex.Pattern pattern)
Change the warn testing pattern used by all instances of this class. |
| Methods inherited from class org.apache.wicket.protocol.http.WebRequestCycle |
|---|
getProcessor, getWebRequest, getWebResponse, getWebSession, isRedirect, newClientInfo, redirectTo |
| Methods inherited from class org.apache.wicket.RequestCycle |
|---|
detach, get, getApplication, getClientInfo, getMetaData, getOriginalResponse, getPageParameters, getRedirect, getRequest, getRequestTarget, getResponse, getResponsePage, getResponsePageClass, getSession, getStartTime, isUrlForNewWindowEncoding, onBeginRequest, onEndRequest, onRuntimeException, request, request, request, set, setAutomaticallyClearFeedbackMessages, setMetaData, setRedirect, setRequest, setRequestTarget, setResponse, setResponsePage, setResponsePage, setResponsePage, setResponsePage, setUrlForNewWindowEncoding, toString, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, wasHandled |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ExceptionFilteringRequestCycle(org.apache.wicket.protocol.http.WebApplication application,
org.apache.wicket.protocol.http.WebRequest request,
org.apache.wicket.Response response)
| Method Detail |
|---|
protected void logRuntimeException(java.lang.RuntimeException e)
logRuntimeException in class org.apache.wicket.RequestCyclepublic static void setWarnOnlySource(java.util.regex.Pattern pattern)
pattern - to match against fully qualified class name of exception origin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||