com.sun.messaging

## Class InvalidPropertyValueException

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

- All Implemented Interfaces:
    java.io.Serializable

      public class InvalidPropertyValueException
      extends javax.jms.JMSException

  An `InvalidPropertyValueException` is thrown when setProperty is called with an invalid property value parameter.
  See Also:
    `javax.jms.ConnectionFactory`, `com.sun.messaging.AdministeredObject.setProperty(propname, propval)`, Serialized Form

- - ### Constructor Summary

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

  - ### Method Summary

    - ### Methods inherited from class javax.jms.JMSException

      `getErrorCode, getLinkedException, setLinkedException`

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

    - #### InvalidPropertyValueException

          public InvalidPropertyValueException(java.lang.String name,
                                               java.lang.String value)

      Constructs an InvalidPropertyValueException.

      The exception message is formatted as

      `name=value`

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

Copyright (c) 2010, 2017 Oracle and/or its affiliates. All rights reserved.