S - The most specific known loaded type that is implemented by the created dynamic type, usually the
            type itself, an interface or the direct super class.public static interface DynamicType.Builder.ExceptionDeclarableMethodInterception<S> extends DynamicType.Builder.MatchedMethodInterception<S>
| Modifier and Type | Method and Description | 
|---|---|
| DynamicType.Builder.MatchedMethodInterception<S> | throwing(Class<?>... type)Defines a number of  Throwabletypes to be include in the exception declaration. | 
| DynamicType.Builder.MatchedMethodInterception<S> | throwing(TypeDescription... type)Defines a number of  Throwabletypes to be include in the exception declaration. | 
intercept, withoutCodeDynamicType.Builder.MatchedMethodInterception<S> throwing(Class<?>... type)
Throwable types to be include in the exception declaration.type - The types that should be declared to be thrown by the selected method.DynamicType.Builder.MatchedMethodInterception<S> throwing(TypeDescription... type)
Throwable types to be include in the exception declaration.type - Descriptions of the types that should be declared to be thrown by the selected method.Copyright © 2014. All rights reserved.