summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2015-08-04 12:33:30 +0300
committerVaadin Code Review <review@vaadin.com>2015-08-17 10:19:52 +0000
commit029cb1a81bf66488df1f8d5a376dd7b1a0c03bd2 (patch)
tree0d01b0eee4032c7a7828cd40de0be5dd998145bc /server/src/com/vaadin/ui
parent86e0fddbdc1dc849d596f526bb17efdfa8d67019 (diff)
downloadvaadin-framework-029cb1a81bf66488df1f8d5a376dd7b1a0c03bd2.tar.gz
vaadin-framework-029cb1a81bf66488df1f8d5a376dd7b1a0c03bd2.zip
Handle renderer exceptions gracefully (#18554)
Change-Id: I46557f6c6f8543ab61b863145863824785d14784
Diffstat (limited to 'server/src/com/vaadin/ui')
-rw-r--r--server/src/com/vaadin/ui/renderers/ImageRenderer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/com/vaadin/ui/renderers/ImageRenderer.java b/server/src/com/vaadin/ui/renderers/ImageRenderer.java
index 2fb872583e..ad7d5cae2b 100644
--- a/server/src/com/vaadin/ui/renderers/ImageRenderer.java
+++ b/server/src/com/vaadin/ui/renderers/ImageRenderer.java
@@ -58,7 +58,7 @@ public class ImageRenderer extends ClickableRenderer<Resource> {
if (!(resource == null || resource instanceof ExternalResource || resource instanceof ThemeResource)) {
throw new IllegalArgumentException(
"ImageRenderer only supports ExternalResource and ThemeResource ("
- + resource.getClass().getSimpleName() + "given )");
+ + resource.getClass().getSimpleName() + " given)");
}
return encode(ResourceReference.create(resource, this, null),