package io.siddhi.core.util.restream.model;

public class MappingFailedEvent {
    private Object event;
    private Exception exception;
    private String cause;

    public MappingFailedEvent(Object event, String cause) {
        this.event = event;
        this.cause = cause;
    }

    public MappingFailedEvent(Object event, Exception exception, String cause) {
        this.event = event;
        this.exception = exception;
        this.cause = cause;
    }

    public Object getEvent() {
        return event;
    }

    public String getCause() {
        return cause;
    }

    public Exception getException() {
        return exception;
    }
}

@@ -110,35 +110,35 @@
 private 
-Exception exception
+Throwable throwable
 ;%0A    pr
@@ -329,27 +329,27 @@
 nt, 
-Exception exception
+Throwable throwable
 , St
@@ -407,29 +407,29 @@
 his.
-exception = exception
+throwable = throwable
 ;%0A  
@@ -596,30 +596,30 @@
 lic 
-Exception getException
+Throwable getThrowable
 () %7B
@@ -638,17 +638,17 @@
 urn 
-exception
+throwable
 ;%0A  

Replace Exception in MappingFailedEvent with Throwable