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 a
Throwable's constructor.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classA construction delegate that calls the default constructor.static classA construction delegate that calls a constructor that takes a single string as its argument. -
Method Summary
Modifier and TypeMethodDescriptionmake()Creates a stack manipulation that creates pushes all constructor arguments onto the operand stack and subsequently calls the constructor.
-
Method Details
-
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.
-