summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-09-12 15:13:21 +0300
committerLeif Åstrand <leif@vaadin.com>2012-09-12 15:13:50 +0300
commit426b4a972d0ce9e3cbbad2fd9b504fbf6a062c5d (patch)
tree5301a021ea1a14d28727afa70349328d75e9845d
parentddec809e9b8fc4d067866ecff4e05d48cb12e092 (diff)
downloadvaadin-framework-426b4a972d0ce9e3cbbad2fd9b504fbf6a062c5d.tar.gz
vaadin-framework-426b4a972d0ce9e3cbbad2fd9b504fbf6a062c5d.zip
Fix error messages
-rw-r--r--client/src/com/vaadin/client/metadata/TypeDataStore.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/src/com/vaadin/client/metadata/TypeDataStore.java b/client/src/com/vaadin/client/metadata/TypeDataStore.java
index 16047baadc..27054c5aeb 100644
--- a/client/src/com/vaadin/client/metadata/TypeDataStore.java
+++ b/client/src/com/vaadin/client/metadata/TypeDataStore.java
@@ -58,7 +58,7 @@ public class TypeDataStore {
public static Type getReturnType(Method method) throws NoDataException {
Type type = get().returnTypes.get(method);
if (type == null) {
- throw new NoDataException("There is return type for "
+ throw new NoDataException("There is no return type for "
+ method.getSignature());
}
return type;
@@ -67,7 +67,7 @@ public class TypeDataStore {
public static Invoker getInvoker(Method method) throws NoDataException {
Invoker invoker = get().invokers.get(method);
if (invoker == null) {
- throw new NoDataException("There is invoker for "
+ throw new NoDataException("There is no invoker for "
+ method.getSignature());
}
return invoker;
@@ -77,7 +77,7 @@ public class TypeDataStore {
Invoker invoker = get().invokers
.get(new Method(type, CONSTRUCTOR_NAME));
if (invoker == null) {
- throw new NoDataException("There is constructor for "
+ throw new NoDataException("There is no constructor for "
+ type.getSignature());
}
return invoker;
@@ -86,7 +86,7 @@ public class TypeDataStore {
public static Invoker getGetter(Property property) throws NoDataException {
Invoker getter = get().getters.get(property);
if (getter == null) {
- throw new NoDataException("There is getter for "
+ throw new NoDataException("There is no getter for "
+ property.getSignature());
}