ReadOnlyPropertyException (Message Queue, 5.1 API Specification)
Date: 2019-01-27

com.sun.messaging

## Class ReadOnlyPropertyException

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

- All Implemented Interfaces:
    java.io.Serializable

      public class ReadOnlyPropertyException
      extends javax.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:
    `javax.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 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

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