package de.tomgrill.gdxfirebase.desktop.auth;

import de.tomgrill.gdxfirebase.core.auth.OnCompleteListener;
import de.tomgrill.gdxfirebase.core.auth.Task;

public class DesktopTask<TResult> implements Task<TResult> {

    private final boolean complete;
    private final boolean successful;

    public DesktopTask(boolean complete, boolean successful) {
        this.complete = complete;
        this.successful = successful;
    }

    @Override
    public boolean isComplete() {
        return complete;
    }

    @Override
    public boolean isSuccessful() {
        return successful;
    }

    @Override
    public Task<TResult> addOnCompleteListener(OnCompleteListener<TResult> var1) {
        return null;
    }

    @Override
    public Exception getException() {
        return null;
    }
}

@@ -40,16 +40,79 @@
 .auth;%0A%0A
+import de.tomgrill.gdxfirebase.core.auth.GdxFirebaseException;%0A
 import d
@@ -840,29 +840,70 @@
         return n
-ull
+ew GdxFirebaseException(%22desktop exception%22)
 ;%0A    %7D%0A%7D%0A

Make DesktopTask return a proper exception