summaryrefslogtreecommitdiff
path: root/src/main/java/com/c2kernel/lookup/Lookup.java
diff options
context:
space:
mode:
authorAndrew Branson <andrew.branson@cern.ch>2014-10-03 23:18:47 +0200
committerAndrew Branson <andrew.branson@cern.ch>2014-10-03 23:18:47 +0200
commitb68ea0f2b12c4c5189c5fc7c182a1b242dc63579 (patch)
tree85b1cc4713ba978c044bfa0656f9115c9f9bf9e3 /src/main/java/com/c2kernel/lookup/Lookup.java
parent275d0bbf555c8917be82ce4cc21eb4cabb00f4c5 (diff)
Rolled back the renaming of existing exceptions.
Diffstat (limited to 'src/main/java/com/c2kernel/lookup/Lookup.java')
-rw-r--r--src/main/java/com/c2kernel/lookup/Lookup.java30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/main/java/com/c2kernel/lookup/Lookup.java b/src/main/java/com/c2kernel/lookup/Lookup.java
index f7e4f59..924057a 100644
--- a/src/main/java/com/c2kernel/lookup/Lookup.java
+++ b/src/main/java/com/c2kernel/lookup/Lookup.java
@@ -22,7 +22,7 @@ package com.c2kernel.lookup;
import java.util.Iterator;
-import com.c2kernel.common.ObjectNotFound;
+import com.c2kernel.common.ObjectNotFoundException;
import com.c2kernel.process.auth.Authenticator;
import com.c2kernel.property.Property;
import com.c2kernel.property.PropertyDescriptionList;
@@ -53,9 +53,9 @@ public interface Lookup {
* @param sysKey The system key of the Item
* @return an ItemPath or AgentPath
* @throws InvalidItemPathException When the system key is invalid/out-of-range
- * @throws ObjectNotFound When the Item does not exist in the directory.
+ * @throws ObjectNotFoundException When the Item does not exist in the directory.
*/
- public ItemPath getItemPath(String sysKey) throws InvalidItemPathException, ObjectNotFound;
+ public ItemPath getItemPath(String sysKey) throws InvalidItemPathException, ObjectNotFoundException;
/**
* Find the ItemPath for which a DomainPath is an alias.
@@ -63,18 +63,18 @@ public interface Lookup {
* @param domainPath The path to resolve
* @return The ItemPath it points to (should be an AgentPath if the path references an Agent)
* @throws InvalidItemPathException
- * @throws ObjectNotFound
+ * @throws ObjectNotFoundException
*/
- public ItemPath resolvePath(DomainPath domainPath) throws InvalidItemPathException, ObjectNotFound;
+ public ItemPath resolvePath(DomainPath domainPath) throws InvalidItemPathException, ObjectNotFoundException;
/**
* Resolve a path to a CORBA Object Item or Agent
*
* @param path The path to be resolved
* @return The CORBA Object
- * @throws ObjectNotFound When the Path doesn't exist, or doesn't have an IOR associated with it
+ * @throws ObjectNotFoundException When the Path doesn't exist, or doesn't have an IOR associated with it
*/
- public org.omg.CORBA.Object resolve(Path path) throws ObjectNotFound;
+ public org.omg.CORBA.Object resolve(Path path) throws ObjectNotFoundException;
// Path finding and searching
@@ -131,23 +131,23 @@ public interface Lookup {
/**
* @param agentName
* @return
- * @throws ObjectNotFound
+ * @throws ObjectNotFoundException
*/
- public AgentPath getAgentPath(String agentName) throws ObjectNotFound;
+ public AgentPath getAgentPath(String agentName) throws ObjectNotFoundException;
/**
* @param roleName
* @return
- * @throws ObjectNotFound
+ * @throws ObjectNotFoundException
*/
- public RolePath getRolePath(String roleName) throws ObjectNotFound;
+ public RolePath getRolePath(String roleName) throws ObjectNotFoundException;
/**
* @param rolePath
* @return
- * @throws ObjectNotFound
+ * @throws ObjectNotFoundException
*/
- public AgentPath[] getAgents(RolePath rolePath) throws ObjectNotFound;
+ public AgentPath[] getAgents(RolePath rolePath) throws ObjectNotFoundException;
/**
* @param agentPath
@@ -167,8 +167,8 @@ public interface Lookup {
/**
* @param agentPath
* @return
- * @throws ObjectNotFound
+ * @throws ObjectNotFoundException
*/
- public String getAgentName(AgentPath agentPath) throws ObjectNotFound;
+ public String getAgentName(AgentPath agentPath) throws ObjectNotFoundException;
}