Class RestrictedAccessException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    CapabilityNotSetException

    public class RestrictedAccessException
    extends java.lang.RuntimeException
    Indicates an attempt to access or modify a state variable without permission to do so. For example, invoking a set method for a state variable that is currently read-only.
    See Also:
    Serialized Form
    • Method Summary

      • 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

      • RestrictedAccessException

        public RestrictedAccessException()
        Create the exception object with default values.
      • RestrictedAccessException

        public RestrictedAccessException​(java.lang.String str)
        Create the exception object that outputs a message.
        Parameters:
        str - the message string to be output.