InvalidValueException (Apache Geode 2.0.2)
Description: declaration: package: org.apache.geode, class: InvalidValueException

Package org.apache.geode

# Class InvalidValueException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.geode.GemFireException
org.apache.geode.InvalidValueException

All Implemented Interfaces:
  `Serializable`

public class InvalidValueException extends GemFireException
An `InvalidValueException` is thrown when an attempt is made to set a configuration attribute to an invalid value is made. Values are considered invalid when they are not compatible with the attribute's type.

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `InvalidValueException(String message)`
  Creates a new `InvalidValueException`.
  `InvalidValueException(String message, Throwable ex)`
  Creates a new `InvalidValueException`.

- ## Method Summary

  ### Methods inherited from class org.apache.geode.GemFireException

  `getRootCause`

  ### Methods inherited from class java.lang.Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### InvalidValueException

    public InvalidValueException(String message)
    Creates a new `InvalidValueException`.
    Parameters:
      `message` - the detail message

  - ### InvalidValueException

    public InvalidValueException(String message, Throwable ex)
    Creates a new `InvalidValueException`.
    Parameters:
      `message` - the detail message
      `ex` - the cause