We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.ui.
Class Slider.ValueOutOfBoundsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.vaadin.ui.Slider.ValueOutOfBoundsException
All Implemented Interfaces:
Enclosing class:
- extends Exception
public class Slider.ValueOutOfBoundsException
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:
Constructor Summary | |
---|---|
Slider.ValueOutOfBoundsException(Double valueOutOfBounds)
Constructs an ValueOutOfBoundsException with the
specified detail message. |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
Slider.ValueOutOfBoundsException
public Slider.ValueOutOfBoundsException(Double valueOutOfBounds)
- Parameters:
valueOutOfBounds
-
Constructs an ValueOutOfBoundsException
with the
specified detail message.
Method Detail |
---|
getValue
public Double getValue()
- Returns:
- the value that is out of bounds
Gets the value that is outside the valid range of the slider.