diff options
author | Artur Signell <artur@vaadin.com> | 2015-08-04 12:33:30 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2015-08-17 10:19:52 +0000 |
commit | 029cb1a81bf66488df1f8d5a376dd7b1a0c03bd2 (patch) | |
tree | 0d01b0eee4032c7a7828cd40de0be5dd998145bc /server/src/com/vaadin/ui | |
parent | 86e0fddbdc1dc849d596f526bb17efdfa8d67019 (diff) | |
download | vaadin-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.java | 2 |
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), |