diff --git a/spring-integration-core/src/main/java/org/springframework/integration/events/IntegrationEvent.java b/spring-integration-core/src/main/java/org/springframework/integration/events/IntegrationEvent.java index 379c8432610..1794432d123 100644 --- a/spring-integration-core/src/main/java/org/springframework/integration/events/IntegrationEvent.java +++ b/spring-integration-core/src/main/java/org/springframework/integration/events/IntegrationEvent.java @@ -43,6 +43,7 @@ public IntegrationEvent(Object source, @Nullable Throwable cause) { this.cause = cause; } + @Nullable public Throwable getCause() { return this.cause; }