From de19fe2956d5a4b3817834191c51989664f8c47c Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Mon, 03 Sep 2007 20:36:20 +0000
Subject: [PATCH] Fix issue 1443: Admin framework: improve error logging in server
---
opends/src/server/org/opends/server/admin/AbstractManagedObjectDefinition.java | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/opends/src/server/org/opends/server/admin/AbstractManagedObjectDefinition.java b/opends/src/server/org/opends/server/admin/AbstractManagedObjectDefinition.java
index 8d6c75e..881e140 100644
--- a/opends/src/server/org/opends/server/admin/AbstractManagedObjectDefinition.java
+++ b/opends/src/server/org/opends/server/admin/AbstractManagedObjectDefinition.java
@@ -637,12 +637,14 @@
rd = resolveManagedObjectDefinitionAux(this, r);
if (rd == null) {
// Unable to resolve the definition.
- throw new DefinitionDecodingException(Reason.WRONG_TYPE_INFORMATION);
+ throw new DefinitionDecodingException(this,
+ Reason.WRONG_TYPE_INFORMATION);
} else if (rd instanceof ManagedObjectDefinition) {
return (ManagedObjectDefinition<? extends C, ? extends S>) rd;
} else {
// Resolved definition was abstract.
- throw new DefinitionDecodingException(Reason.ABSTRACT_TYPE_INFORMATION);
+ throw new DefinitionDecodingException(this,
+ Reason.ABSTRACT_TYPE_INFORMATION);
}
}
--
Gitblit v1.10.0