From b68ea0f2b12c4c5189c5fc7c182a1b242dc63579 Mon Sep 17 00:00:00 2001 From: Andrew Branson Date: Fri, 3 Oct 2014 23:18:47 +0200 Subject: Rolled back the renaming of existing exceptions. --- .../com/c2kernel/process/auth/Authenticator.java | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/main/java/com/c2kernel/process/auth/Authenticator.java') diff --git a/src/main/java/com/c2kernel/process/auth/Authenticator.java b/src/main/java/com/c2kernel/process/auth/Authenticator.java index 8e06da0..4578744 100644 --- a/src/main/java/com/c2kernel/process/auth/Authenticator.java +++ b/src/main/java/com/c2kernel/process/auth/Authenticator.java @@ -20,8 +20,8 @@ */ package com.c2kernel.process.auth; -import com.c2kernel.common.InvalidData; -import com.c2kernel.common.ObjectNotFound; +import com.c2kernel.common.InvalidDataException; +import com.c2kernel.common.ObjectNotFoundException; /** * This interface is used by the kernel to store an authenticated connection @@ -55,14 +55,14 @@ public interface Authenticator { * method if required. May be null. * @return a boolean indicating if the authentication was successful. If so, * then the Gateway will generate an AgentProxy for the given user. - * @throws ObjectNotFound + * @throws ObjectNotFoundException * When the Agent doesn't exist - * @throws InvalidData + * @throws InvalidDataException * When authentication fails for another reason */ public boolean authenticate(String agentName, String password, - String resource) throws InvalidData, - ObjectNotFound; + String resource) throws InvalidDataException, + ObjectNotFoundException; /** * Authenticates a superuser connection for the server. It must be able to @@ -71,11 +71,11 @@ public interface Authenticator { * * @param resource * @return - * @throws InvalidData - * @throws ObjectNotFound + * @throws InvalidDataException + * @throws ObjectNotFoundException */ - public boolean authenticate(String resource) throws InvalidData, - ObjectNotFound; + public boolean authenticate(String resource) throws InvalidDataException, + ObjectNotFoundException; /** * Lookup and storage implementations that need to use user or superuser -- cgit v1.2.3