01: // Copyright (c) 2003-2007, Jodd Team (jodd.sf.net). All Rights Reserved.
02:
03: package jodd.madvoc.interceptor;
04:
05: import jodd.madvoc.MadvocException;
06: import jodd.madvoc.ActionRequest;
07:
08: /**
09: * Marker for default interceptors.
10: */
11: public final class DefaultMadvocInterceptors implements
12: ActionInterceptor {
13:
14: public DefaultMadvocInterceptors() {
15: }
16:
17: public String intercept(ActionRequest actionRequest)
18: throws Exception {
19: throw new MadvocException(
20: "DefaultInterceptors should be not used as a regular interceptor.");
21: }
22: }
|