No need for this to be specific to persistence.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5348 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2008-09-03 18:40:29 +00:00
parent 5a41c876b4
commit 7e7e7893d6
@@ -21,8 +21,6 @@
package com.threerings.presents.server;
import com.samskivert.io.PersistenceException;
import com.samskivert.util.Invoker;
import com.samskivert.util.ResultListener;
@@ -58,7 +56,7 @@ public abstract class Authenticator
public boolean invoke () {
try {
processAuthentication(conn, rsp);
} catch (Exception e) { // Persistence or Runtime
} catch (Exception e) {
log.warning("Error authenticating user [areq=" + req + "].", e);
rdata.code = AuthCodes.SERVER_ERROR;
}
@@ -100,5 +98,5 @@ public abstract class Authenticator
* created by {@link #createResponseData}.
*/
protected abstract void processAuthentication (AuthingConnection conn, AuthResponse rsp)
throws PersistenceException;
throws Exception;
}