Class RestrictedAccessException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CapabilityNotSetException

public class RestrictedAccessException extends 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:
  • Constructor Details

    • RestrictedAccessException

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

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