# Class InvalidPropertyException

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

All Implemented Interfaces:
  `Serializable`

public class InvalidPropertyException extends jakarta.jms.JMSException
An `InvalidPropertyException` is thrown when a setProperty is called with an invalid property name parameter.

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

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `InvalidPropertyException(String property)`
  Constructs an InvalidPropertyException.

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

  - ### InvalidPropertyException

    public InvalidPropertyException(String property)
    Constructs an InvalidPropertyException.
    Parameters:
      `property` - The invalid property name.