Returns the Exception if it was set.
public abstract Exception getException ()
If not, the returned value will be null.