diff options
Diffstat (limited to 'src/main/java/com/c2kernel/lookup/AgentPath.java')
| -rw-r--r-- | src/main/java/com/c2kernel/lookup/AgentPath.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/main/java/com/c2kernel/lookup/AgentPath.java b/src/main/java/com/c2kernel/lookup/AgentPath.java index 06be6d4..d2a6c7f 100644 --- a/src/main/java/com/c2kernel/lookup/AgentPath.java +++ b/src/main/java/com/c2kernel/lookup/AgentPath.java @@ -26,7 +26,7 @@ import java.util.UUID; import org.apache.xerces.impl.dv.util.Base64;
-import com.c2kernel.common.ObjectNotFound;
+import com.c2kernel.common.ObjectNotFoundException;
import com.c2kernel.common.SystemKey;
import com.c2kernel.process.Gateway;
@@ -47,7 +47,7 @@ public class AgentPath extends ItemPath super(syskey);
try {
findAgentName();
- } catch (ObjectNotFound e) {
+ } catch (ObjectNotFoundException e) {
throw new InvalidAgentPathException();
}
}
@@ -55,7 +55,7 @@ public class AgentPath extends ItemPath super(uuid);
try {
findAgentName();
- } catch (ObjectNotFound e) {
+ } catch (ObjectNotFoundException e) {
throw new InvalidAgentPathException();
}
}
@@ -64,7 +64,7 @@ public class AgentPath extends ItemPath super(itemPath.mUUID);
try {
findAgentName();
- } catch (ObjectNotFound e) {
+ } catch (ObjectNotFoundException e) {
throw new InvalidAgentPathException();
}
}
@@ -78,7 +78,7 @@ public class AgentPath extends ItemPath super(path);
try {
findAgentName();
- } catch (ObjectNotFound e) {
+ } catch (ObjectNotFoundException e) {
throw new InvalidAgentPathException();
}
}
@@ -93,13 +93,13 @@ public class AgentPath extends ItemPath if (mAgentName==null)
try {
findAgentName();
- } catch (ObjectNotFound e) {
+ } catch (ObjectNotFoundException e) {
return null;
}
return mAgentName;
}
- private void findAgentName() throws ObjectNotFound {
+ private void findAgentName() throws ObjectNotFoundException {
mAgentName = Gateway.getLookup().getAgentName(this);
}
@@ -115,7 +115,7 @@ public class AgentPath extends ItemPath public boolean hasRole(String role) {
try {
return hasRole(Gateway.getLookup().getRolePath(role));
- } catch (ObjectNotFound ex) {
+ } catch (ObjectNotFoundException ex) {
return false;
}
}
|
