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, typeVariabledefaultValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitthrowingtypeVariable, typeVariable, typeVariable, typeVariable, typeVariabledefaultValue, defaultValue, intercept, withoutCodepublic 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–2023. All rights reserved.