com.vaadin.ui
Class Slider.ValueOutOfBoundsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.vaadin.ui.Slider.ValueOutOfBoundsException
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- Slider
public class Slider.ValueOutOfBoundsException
- extends RuntimeException
Thrown when the value of the slider is about to be set to a value that is
outside the valid range of the slider.
- Author:
- Vaadin Ltd.
- See Also:
- Serialized Form
Method Summary |
Double |
getValue()
Gets the value that is outside the valid range of the slider. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Slider.ValueOutOfBoundsException
public Slider.ValueOutOfBoundsException(Double valueOutOfBounds)
- Constructs an
ValueOutOfBoundsException
with the
specified detail message.
- Parameters:
valueOutOfBounds
-
getValue
public Double getValue()
- Gets the value that is outside the valid range of the slider.
- Returns:
- the value that is out of bounds
Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.