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.Util
logger
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, whiteList
addLocal, 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, throwRenderResult
addSubResource, destroy, isDestroyed, reload, scope
debug, debug, error, error, fatal, fatal, info, info, isDebugEnabled, isTraceEnabled, trace, trace, warn, warn
protected CatchMethodMetaInfo(CatchMethodMetaInfo copy, ControllerClassMetaInfo clsInfo)
public CatchMethodMetaInfo(ControllerClassMetaInfo clsInfo)
protected void releaseResources()
releaseResources
in class InterceptorMethodMetaInfo
public 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 InterceptorMethodMetaInfo
protected org.osgl.util.S.Buffer toStrBuffer(org.osgl.util.S.Buffer sb)
toStrBuffer
in class InterceptorMethodMetaInfo
protected InterceptorMethodMetaInfo doExtend(ControllerClassMetaInfo clsInfo)
doExtend
in class InterceptorMethodMetaInfo
Copyright © 2014–2017 ActFramework. All rights reserved.