summaryrefslogtreecommitdiff
path: root/src/main/java/com/amazon/carbonado/repo/replicated
diff options
context:
space:
mode:
authorBrian S. O'Neill <bronee@gmail.com>2006-12-08 01:13:37 +0000
committerBrian S. O'Neill <bronee@gmail.com>2006-12-08 01:13:37 +0000
commit1de87db5cee7a3c15d086998f9480f503f0084f7 (patch)
tree77aca39f06543f6f2d86cd638d788459098e7b54 /src/main/java/com/amazon/carbonado/repo/replicated
parent04bdcb391b42397988fc879736146d527b8ac2f7 (diff)
Improved message for UnsupportedTypeException.
Diffstat (limited to 'src/main/java/com/amazon/carbonado/repo/replicated')
-rw-r--r--src/main/java/com/amazon/carbonado/repo/replicated/ReplicatedRepository.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/amazon/carbonado/repo/replicated/ReplicatedRepository.java b/src/main/java/com/amazon/carbonado/repo/replicated/ReplicatedRepository.java
index 11c11b6..5edc42c 100644
--- a/src/main/java/com/amazon/carbonado/repo/replicated/ReplicatedRepository.java
+++ b/src/main/java/com/amazon/carbonado/repo/replicated/ReplicatedRepository.java
@@ -360,7 +360,7 @@ class ReplicatedRepository
if (storageFor(type) instanceof ReplicatedStorage) {
trigger = ((ReplicatedStorage) storageFor(type)).getTrigger();
} else {
- throw new UnsupportedTypeException(type);
+ throw new UnsupportedTypeException("Storable type is not replicated", type);
}
Storage<S> replicaStorage, masterStorage;