# Class InvalidPropertyValueException

java.lang.Object
java.lang.Throwable
java.lang.Exception
jakarta.jms.JMSException
com.sun.messaging.InvalidPropertyValueException

All Implemented Interfaces:
  `Serializable`

public class InvalidPropertyValueException extends jakarta.jms.JMSException
An `InvalidPropertyValueException` is thrown when setProperty is called with an invalid property value parameter.

See Also:
  - `jakarta.jms.ConnectionFactory`
  - `com.sun.messaging.AdministeredObject.setProperty(propname, propval)`
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `InvalidPropertyValueException(String name, String value)`
  Constructs an InvalidPropertyValueException.

- ## Method Summary

  ### Methods inherited from class jakarta.jms.JMSException

  `getErrorCode, getLinkedException, setLinkedException`

  ### Methods inherited from class Throwable

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

  ### Methods inherited from class Object

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

- ## Constructor Details

  - ### InvalidPropertyValueException

    public InvalidPropertyValueException(String name, String value)
    Constructs an InvalidPropertyValueException.

    The exception message is formatted as

    `name=value`

    Parameters:
      `name` - The property name.
      `value` - The invalid property value.