com.sun.messaging

## Class ReadOnlyPropertyException

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

- All Implemented Interfaces:
    java.io.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 and Description
    `ReadOnlyPropertyException(java.lang.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 Detail

    - #### ReadOnlyPropertyException

          public ReadOnlyPropertyException(java.lang.String property)

      Constructs a ReadOnlyPropertyException.
      Parameters:
        `property` - The property being modified.

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