com.vaadin.ui.


Class Slider.ValueOutOfBoundsException

java.lang.Object
  java.lang.Throwable
      java.lang.Exception
          com.vaadin.ui.Slider.ValueOutOfBoundsException

All Implemented Interfaces:

Serializable

Enclosing class:

Slider

public class Slider.ValueOutOfBoundsException
extends Exception

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
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)

Constructs an ValueOutOfBoundsException 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