U - A loaded type that the built type is guaranteed to be a subclass of.public static interface DynamicType.Builder.MethodDefinition.ExceptionDefinition<U> extends DynamicType.Builder.MethodDefinition.TypeVariableDefinition<U>
| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
DynamicType.Builder.MethodDefinition.ExceptionDefinition.AbstractBase<V>
An abstract base implementation for defining an implementation of a method and optionally definign a type variable or thrown exception. 
 | 
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<V>DynamicType.Builder.MethodDefinition.ImplementationDefinition.Optional<V>| Modifier and Type | Method and Description | 
|---|---|
DynamicType.Builder.MethodDefinition.ExceptionDefinition<U> | 
throwing(Collection<? extends TypeDefinition> types)
Defines a method variable to be declared by the currently defined method. 
 | 
DynamicType.Builder.MethodDefinition.ExceptionDefinition<U> | 
throwing(List<? extends Type> types)
Defines a method variable to be declared by the currently defined method. 
 | 
DynamicType.Builder.MethodDefinition.ExceptionDefinition<U> | 
throwing(Type... type)
Defines a method variable to be declared by the currently defined method. 
 | 
DynamicType.Builder.MethodDefinition.ExceptionDefinition<U> | 
throwing(TypeDefinition... type)
Defines a method variable to be declared by the currently defined method. 
 | 
typeVariable, typeVariable, typeVariable, typeVariable, typeVariabledefaultValue, defaultValue, intercept, withoutCodeDynamicType.Builder.MethodDefinition.ExceptionDefinition<U> throwing(Type... type)
type - The type of the exception being declared by the currently defined method.DynamicType.Builder.MethodDefinition.ExceptionDefinition<U> throwing(List<? extends Type> types)
types - The type of the exception being declared by the currently defined method.DynamicType.Builder.MethodDefinition.ExceptionDefinition<U> throwing(TypeDefinition... type)
type - The type of the exception being declared by the currently defined method.DynamicType.Builder.MethodDefinition.ExceptionDefinition<U> throwing(Collection<? extends TypeDefinition> types)
types - The type of the exception being declared by the currently defined method.Copyright © 2014–2016. All rights reserved.