Package net.bytebuddy.implementation
Interface ExceptionMethod.ConstructionDelegate
-
- All Known Implementing Classes:
ExceptionMethod.ConstructionDelegate.ForDefaultConstructor
,ExceptionMethod.ConstructionDelegate.ForStringConstructor
- Enclosing class:
- ExceptionMethod
public static interface ExceptionMethod.ConstructionDelegate
A construction delegate is responsible for calling aThrowable
's constructor.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ExceptionMethod.ConstructionDelegate.ForDefaultConstructor
A construction delegate that calls the default constructor.static class
ExceptionMethod.ConstructionDelegate.ForStringConstructor
A construction delegate that calls a constructor that takes a single string as its argument.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StackManipulation
make()
Creates a stack manipulation that creates pushes all constructor arguments onto the operand stack and subsequently calls the constructor.
-
-
-
Method Detail
-
make
StackManipulation make()
Creates a stack manipulation that creates pushes all constructor arguments onto the operand stack and subsequently calls the constructor.- Returns:
- A stack manipulation for constructing a
Throwable
.
-
-