| Modifier and Type | Optional Element and Description |
|---|---|
String[] |
except
Optionally specify the actions that should not be intercepted by this exception interceptor
|
String[] |
only
Optionally specify the only actions that should be intercepted by this catch interceptor
|
int |
priority
Optionally specify
priority of the catch interceptor. |
Class<? extends Throwable>[] |
value
Optionally specify the exception classes should be captured by this exception interceptor.
|
public abstract int priority
Optionally specify priority of the catch interceptor. it’s up to the framework to decide how to interpret the priority in terms of int value
public abstract String[] only
Optionally specify the only actions that should be intercepted by this catch interceptor
Note if both only() and except()
is specified, and an action method name appears
in both only() and except(), then
it will NOT be intercepted by this exception interceptor
except()Copyright © 2014–2018 OSGL (Open Source General Library). All rights reserved.