diff --git a/common/src/main/java/dev/restate/common/reflections/MethodInfo.java b/common/src/main/java/dev/restate/common/reflections/MethodInfo.java index 26cb8c98..1fb86f02 100644 --- a/common/src/main/java/dev/restate/common/reflections/MethodInfo.java +++ b/common/src/main/java/dev/restate/common/reflections/MethodInfo.java @@ -21,6 +21,7 @@ public class MethodInfo extends RuntimeException { private final TypeTag outputType; private MethodInfo(String handlerName, TypeTag inputType, TypeTag outputType) { + super("MethodInfo message should not be used", null, false, false); this.inputType = inputType; this.outputType = outputType; this.handlerName = handlerName;