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<?>... exceptionType)Defines a number of  Throwabletypes to be include in the exception declaration. | 
| DynamicType.Builder.MatchedMethodInterception<S> | throwing(Collection<? extends TypeDescription> exceptionTypes)Defines a number of  Throwabletypes to be include in the exception declaration. | 
| DynamicType.Builder.MatchedMethodInterception<S> | throwing(Iterable<? extends Class<?>> exceptionTypes)Defines a number of  Throwabletypes to be include in the exception declaration. | 
| DynamicType.Builder.MatchedMethodInterception<S> | throwing(TypeDescription... exceptionType)Defines a number of  Throwabletypes to be include in the exception declaration. | 
intercept, withDefaultValue, withDefaultValue, withoutCodeDynamicType.Builder.MatchedMethodInterception<S> throwing(Class<?>... exceptionType)
Throwable types to be include in the exception declaration.exceptionType - The types that should be declared to be thrown by the selected method.DynamicType.Builder.MatchedMethodInterception<S> throwing(Iterable<? extends Class<?>> exceptionTypes)
Throwable types to be include in the exception declaration.exceptionTypes - The types that should be declared to be thrown by the selected method.DynamicType.Builder.MatchedMethodInterception<S> throwing(TypeDescription... exceptionType)
Throwable types to be include in the exception declaration.exceptionType - Descriptions of the types that should be declared to be thrown by the selected method.DynamicType.Builder.MatchedMethodInterception<S> throwing(Collection<? extends TypeDescription> exceptionTypes)
Throwable types to be include in the exception declaration.exceptionTypes - Descriptions of the types that should be declared to be thrown by the selected method.Copyright © 2014–2015. All rights reserved.