.getDeclaredMethod("getResponseCode").invoke(response);
String body = new String((byte[]) response.getClass()
.getDeclaredMethod("getContent").invoke(response), CHARSET);
return new StripeResponse(responseCode, body);
} catch (InvocationTargetException e) {
throw new APIException(unknownErrorMessage, e);
} catch (MalformedURLException e) {
throw new APIException(unknownErrorMessage, e);
} catch (NoSuchFieldException e) {
throw new APIException(unknownErrorMessage, e);
} catch (SecurityException e) {
throw new APIException(unknownErrorMessage, e);
} catch (NoSuchMethodException e) {
throw new APIException(unknownErrorMessage, e);
} catch (ClassNotFoundException e) {
throw new APIException(unknownErrorMessage, e);
} catch (IllegalArgumentException e) {
throw new APIException(unknownErrorMessage, e);
} catch (IllegalAccessException e) {
throw new APIException(unknownErrorMessage, e);
} catch (InstantiationException e) {
throw new APIException(unknownErrorMessage, e);
} catch (UnsupportedEncodingException e) {
throw new APIException(unknownErrorMessage, e);
}
}