类 UndeclaredThrowableStrategy
java.lang.Object
cn.taketoday.bytecode.core.DefaultGeneratorStrategy
cn.taketoday.bytecode.transform.impl.UndeclaredThrowableStrategy
- 所有已实现的接口:
GeneratorStrategy
A
GeneratorStrategy suitable for use with
Enhancer which causes all undeclared
exceptions thrown from within a proxied method to be wrapped in an
alternative exception of your choice.-
字段概要
字段从类继承的字段 cn.taketoday.bytecode.core.DefaultGeneratorStrategy
INSTANCE -
构造器概要
构造器 -
方法概要
从类继承的方法 cn.taketoday.bytecode.core.DefaultGeneratorStrategy
generate, getClassVisitor, transform从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 cn.taketoday.bytecode.core.GeneratorStrategy
equals
-
字段详细资料
-
wrapper
-
TRANSFORM_FILTER
-
-
构造器详细资料
-
UndeclaredThrowableStrategy
Create a new instance of this strategy.- 参数:
wrapper- a class which extends either directly or indirectly fromThrowableand which has at least one constructor that takes a single argument of typeThrowable, for examplejava.lang.reflect.UndeclaredThrowableException.class
-
-
方法详细资料
-
transform
- 覆盖:
transform在类中DefaultGeneratorStrategy- 抛出:
Exception
-