presto-client/src/main/java/io/prestosql/client/JsonResponse.java/JsonResponse/getException
class JsonResponse:    @Nullable
    public IllegalArgumentException getException()
    {
        return exception;
    }