Interface ThrowingFunctionExecutionExample
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ThrowingFunctionExecutionExample.Jsii$Proxy
@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)", date="2025-08-20T01:46:20.834Z") @Stability(Stable) public interface ThrowingFunctionExecutionExample extends software.amazon.jsii.JsiiSerializable
Interaction descriptor for a function execution that throws an error.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classThrowingFunctionExecutionExample.BuilderA builder forThrowingFunctionExecutionExamplestatic classThrowingFunctionExecutionExample.Jsii$ProxyAn implementation forThrowingFunctionExecutionExample
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ThrowingFunctionExecutionExample.Builderbuilder()List<Object>getArguments()An array of expected function arguments (or test equivalence matchers for those arguments).ObjectgetErrorClassName()A test equivalence matcher for the class name of this exception.StringgetFunctionName()The name of the function to be executed.default ObjectgetMessage()A test equivalence matcher for the message from this exception.
-
-
-
Method Detail
-
getArguments
@Stability(Stable) @NotNull List<Object> getArguments()
An array of expected function arguments (or test equivalence matchers for those arguments).
-
getErrorClassName
@Stability(Stable) @NotNull Object getErrorClassName()
A test equivalence matcher for the class name of this exception.
-
getFunctionName
@Stability(Stable) @NotNull String getFunctionName()
The name of the function to be executed.Doubles as the handle used by registerFunction.
-
getMessage
@Stability(Stable) @Nullable default Object getMessage()
A test equivalence matcher for the message from this exception.In general, it's best to rely on the class of the exception instead of the specific error message
-
builder
@Stability(Stable) static ThrowingFunctionExecutionExample.Builder builder()
-
-