Package com.sun.messaging

# Class ReadOnlyPropertyException

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

All Implemented Interfaces:
  `Serializable`

public class ReadOnlyPropertyException extends jakarta.jms.JMSException
A `ReadOnlyPropertyException` is thrown when an attempt is made to modify a JMQ `AdministeredObject` that has been set to read only.

See Also:
  - `jakarta.jms.ConnectionFactory`
  - `com.sun.messaging.AdministeredObject.setReadOnly()`
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ReadOnlyPropertyException(String property)`
  Constructs a ReadOnlyPropertyException.

- ## Method Summary

  ### Methods inherited from class jakarta.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 Details

  - ### ReadOnlyPropertyException

    public ReadOnlyPropertyException(String property)
    Constructs a ReadOnlyPropertyException.
    Parameters:
      `property` - The property being modified.