Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Few debug enhancements to debug hashing issues
[controller.git]
/
opendaylight
/
clustering
/
test
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
clustering
/
test
/
internal
/
SimpleClient.java
diff --git
a/opendaylight/clustering/test/src/main/java/org/opendaylight/controller/clustering/test/internal/SimpleClient.java
b/opendaylight/clustering/test/src/main/java/org/opendaylight/controller/clustering/test/internal/SimpleClient.java
index 60be87b86d4add14a4feaabae6a211c2d34f981b..52cc56e377e0529c3c39ca4ecf8cd278614cc904 100644
(file)
--- a/
opendaylight/clustering/test/src/main/java/org/opendaylight/controller/clustering/test/internal/SimpleClient.java
+++ b/
opendaylight/clustering/test/src/main/java/org/opendaylight/controller/clustering/test/internal/SimpleClient.java
@@
-344,7
+344,13
@@
public class SimpleClient implements CommandProvider {
containerName, cacheName);
if (c != null) {
ci.println("\nAdd mapping " + key + " = " + sValue);
containerName, cacheName);
if (c != null) {
ci.println("\nAdd mapping " + key + " = " + sValue);
- c.put(key, new StringContainer(sValue));
+ try {
+ c.put(key, new StringContainer(sValue));
+ } catch (Exception e) {
+ ci.println("Exception raised:" + e);
+ ci.println("\tStacktrace:");
+ e.printStackTrace();
+ }
} else {
ci.println("Cache " + cacheName + " on container " + containerName
+ " not existant!");
} else {
ci.println("Cache " + cacheName + " on container " + containerName
+ " not existant!");