summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/Slider.java
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/com/vaadin/ui/Slider.java')
-rw-r--r--server/src/com/vaadin/ui/Slider.java10
1 files changed, 2 insertions, 8 deletions
diff --git a/server/src/com/vaadin/ui/Slider.java b/server/src/com/vaadin/ui/Slider.java
index ff6c955e47..66ed1a48f4 100644
--- a/server/src/com/vaadin/ui/Slider.java
+++ b/server/src/com/vaadin/ui/Slider.java
@@ -16,8 +16,6 @@
package com.vaadin.ui;
-import org.json.JSONException;
-
import com.vaadin.shared.ui.slider.SliderOrientation;
import com.vaadin.shared.ui.slider.SliderServerRpc;
import com.vaadin.shared.ui.slider.SliderState;
@@ -42,12 +40,8 @@ public class Slider extends AbstractField<Double> {
*
* See #12133.
*/
- try {
- getUI().getConnectorTracker().getDiffState(Slider.this)
- .put("value", value);
- } catch (JSONException e) {
- throw new RuntimeException(e);
- }
+ getUI().getConnectorTracker().getDiffState(Slider.this)
+ .put("value", value);
try {
setValue(value, true);