Package 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
-
-
Constructor Summary
Constructors Constructor Description ValueOutOfBoundsException(Double valueOutOfBounds)
Constructs anValueOutOfBoundsException
with the specified detail message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Double
getValue()
Gets the value that is outside the valid range of the slider.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ValueOutOfBoundsException
public ValueOutOfBoundsException(Double valueOutOfBounds)
Constructs anValueOutOfBoundsException
with the specified detail message.- Parameters:
valueOutOfBounds
-
-
-
Method Detail
-
getValue
public Double getValue()
Gets the value that is outside the valid range of the slider.- Returns:
- the value that is out of bounds
-
-