package com.stitchdata.client;

public class StitchException extends Exception {

    private final StitchResponse response;

    public StitchException(StitchResponse response) {
        this.response = response;
    }

    public StitchResponse getResponse() {
        return response;
    }

    public String getMessage() {
        return response.toString();
    }
}

@@ -25,16 +25,45 @@
 lient;%0A%0A
+import java.io.IOException;%0A%0A
 public c
@@ -91,16 +91,18 @@
 extends 
+IO
 Exceptio
@@ -200,19 +200,170 @@
 response
-) %7B
+, Throwable cause) %7B%0A        super(cause);%0A        this.response = response;%0A    %7D%0A%0A    public StitchException(StitchResponse response) %7B%0A        super();
 %0A       

Make StitchException extend IOException