Class ThrowingFunctionExecutionExample.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.contract_testing.contractcase.definitions.interactions.functions.ThrowingFunctionExecutionExample.Jsii$Proxy
-
- All Implemented Interfaces:
ThrowingFunctionExecutionExample,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ThrowingFunctionExecutionExample
@Stability(Stable) @Internal public static final class ThrowingFunctionExecutionExample.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ThrowingFunctionExecutionExample
An implementation forThrowingFunctionExecutionExample
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface io.contract_testing.contractcase.definitions.interactions.functions.ThrowingFunctionExecutionExample
ThrowingFunctionExecutionExample.Builder, ThrowingFunctionExecutionExample.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ThrowingFunctionExecutionExample.Builder builder)Constructor that initializes the object based on literal property values passed by theThrowingFunctionExecutionExample.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)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.ObjectgetMessage()A test equivalence matcher for the message from this exception.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(ThrowingFunctionExecutionExample.Builder builder)
Constructor that initializes the object based on literal property values passed by theThrowingFunctionExecutionExample.Builder.
-
-
Method Detail
-
getArguments
public final List<Object> getArguments()
Description copied from interface:ThrowingFunctionExecutionExampleAn array of expected function arguments (or test equivalence matchers for those arguments).- Specified by:
getArgumentsin interfaceThrowingFunctionExecutionExample
-
getErrorClassName
public final Object getErrorClassName()
Description copied from interface:ThrowingFunctionExecutionExampleA test equivalence matcher for the class name of this exception.- Specified by:
getErrorClassNamein interfaceThrowingFunctionExecutionExample
-
getFunctionName
public final String getFunctionName()
Description copied from interface:ThrowingFunctionExecutionExampleThe name of the function to be executed.Doubles as the handle used by registerFunction.
- Specified by:
getFunctionNamein interfaceThrowingFunctionExecutionExample
-
getMessage
public final Object getMessage()
Description copied from interface:ThrowingFunctionExecutionExampleA 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
- Specified by:
getMessagein interfaceThrowingFunctionExecutionExample
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-