public class CatchMethodMetaInfo extends InterceptorMethodMetaInfo
Unlike other interceptors (Before/After/Finally), Catch interceptor has a special attribute: value, the exception class. Only when the exception thrown out is instance of the class or subclass of the class, the catch interceptor will be executed
Destroyable.Utillogger| Modifier | Constructor and Description |
|---|---|
protected |
CatchMethodMetaInfo(CatchMethodMetaInfo copy,
ControllerClassMetaInfo clsInfo) |
|
CatchMethodMetaInfo(ControllerClassMetaInfo clsInfo) |
| Modifier and Type | Method and Description |
|---|---|
protected InterceptorMethodMetaInfo |
doExtend(ControllerClassMetaInfo clsInfo) |
java.util.List<java.lang.String> |
exceptionClasses() |
CatchMethodMetaInfo |
exceptionClasses(java.util.List<java.lang.String> list) |
protected void |
releaseResources() |
protected org.osgl.util.S.Buffer |
toStrBuffer(org.osgl.util.S.Buffer sb) |
java.lang.String |
toString() |
addExcept, addOnly, blackList, compareTo, extended, priority, priority, whiteListaddLocal, addParam, appContextInjection, appContextViaField, appContextViaLocalStorage, appContextViaParam, appCtxLocalVariableTableIndex, appCtxLocalVariableTableIndex, classInfo, ctxParamCount, disableJsonCircularRefDetect, disableJsonCircularRefDetect, equals, fullName, hashCode, hasLocalVariableTable, hasReturn, hasReturnOrThrowResult, invokeInstanceMethod, invokeStaticMethod, isStatic, localVariable, name, name, param, paramCount, propertySpec, propertySpec, returnComponentType, returnComponentType, returnType, returnType, returnTypeInfo, setThrowRenderResult, throwRenderResultaddSubResource, destroy, isDestroyed, reload, scopedebug, debug, error, error, fatal, fatal, info, info, isDebugEnabled, isTraceEnabled, trace, trace, warn, warnprotected CatchMethodMetaInfo(CatchMethodMetaInfo copy, ControllerClassMetaInfo clsInfo)
public CatchMethodMetaInfo(ControllerClassMetaInfo clsInfo)
protected void releaseResources()
releaseResources in class InterceptorMethodMetaInfopublic CatchMethodMetaInfo exceptionClasses(java.util.List<java.lang.String> list)
public java.util.List<java.lang.String> exceptionClasses()
public java.lang.String toString()
toString in class InterceptorMethodMetaInfoprotected org.osgl.util.S.Buffer toStrBuffer(org.osgl.util.S.Buffer sb)
toStrBuffer in class InterceptorMethodMetaInfoprotected InterceptorMethodMetaInfo doExtend(ControllerClassMetaInfo clsInfo)
doExtend in class InterceptorMethodMetaInfoCopyright © 2014–2017 ActFramework. All rights reserved.