(final Exception e)
| 958 | // the remote method returns `void', so we only need an errback. |
| 959 | final class SingleEditErrback implements Callback<Object, Exception> { |
| 960 | public Object call(final Exception e) { |
| 961 | if (!(e instanceof RecoverableException)) { |
| 962 | return e; // Can't recover from this error, let it propagate. |
| 963 | } |
| 964 | return retryEdit(edit, (RecoverableException) e); |
| 965 | } |
| 966 | public String toString() { |
| 967 | return "single-edit errback"; |
| 968 | } |