V
- A loaded type that the built type is guaranteed to be a subclass of.public abstract static class DynamicType.Builder.MethodDefinition.ExceptionDefinition.AbstractBase<V> extends DynamicType.Builder.MethodDefinition.TypeVariableDefinition.AbstractBase<V> implements DynamicType.Builder.MethodDefinition.ExceptionDefinition<V>
DynamicType.Builder.MethodDefinition.ExceptionDefinition.AbstractBase<V>
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<V>
DynamicType.Builder.MethodDefinition.ImplementationDefinition.Optional<V>
Constructor and Description |
---|
AbstractBase() |
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder.MethodDefinition.ExceptionDefinition<V> |
throwing(List<? extends Type> types)
Defines a method variable to be declared by the currently defined method.
|
DynamicType.Builder.MethodDefinition.ExceptionDefinition<V> |
throwing(Type... type)
Defines a method variable to be declared by the currently defined method.
|
DynamicType.Builder.MethodDefinition.ExceptionDefinition<V> |
throwing(TypeDefinition... type)
Defines a method variable to be declared by the currently defined method.
|
typeVariable, typeVariable, typeVariable, typeVariable
defaultValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
throwing
typeVariable, typeVariable, typeVariable, typeVariable, typeVariable
defaultValue, defaultValue, intercept, withoutCode
public DynamicType.Builder.MethodDefinition.ExceptionDefinition<V> throwing(Type... type)
throwing
in interface DynamicType.Builder.MethodDefinition.ExceptionDefinition<V>
type
- The type of the exception being declared by the currently defined method.public DynamicType.Builder.MethodDefinition.ExceptionDefinition<V> throwing(List<? extends Type> types)
throwing
in interface DynamicType.Builder.MethodDefinition.ExceptionDefinition<V>
types
- The type of the exception being declared by the currently defined method.public DynamicType.Builder.MethodDefinition.ExceptionDefinition<V> throwing(TypeDefinition... type)
throwing
in interface DynamicType.Builder.MethodDefinition.ExceptionDefinition<V>
type
- The type of the exception being declared by the currently defined method.Copyright © 2014–2020. All rights reserved.