package com.siftscience;

import okhttp3.Response;
import sun.reflect.generics.reflectiveObjects.NotImplementedException;

import java.io.IOException;

public class UnlabelResponse extends SiftResponse {
    UnlabelResponse(Response okResponse, FieldSet requestBody) throws IOException {
        super(okResponse, requestBody);
    }

    /**
     * This should never be called because the unlabel API doesn't return a response body.
     *
     * @param jsonBody
     */
    @Override
    void populateBodyFromJson(String jsonBody) {
        throw new NotImplementedException();
    }
}

@@ -47,79 +47,8 @@
 nse;
-%0Aimport sun.reflect.generics.reflectiveObjects.NotImplementedException;
 %0A%0Aim
@@ -479,22 +479,28 @@
 new 
-NotImplemented
+UnsupportedOperation
 Exce

Replace use of internal Sun API class