Class RestrictedAccessException

All Implemented Interfaces:
Direct Known Subclasses:

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

Constructor Summary
          Create the exception object with default values.
RestrictedAccessException(java.lang.String str)
          Create the exception object that outputs a message.
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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


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


public RestrictedAccessException(java.lang.String str)
Create the exception object that outputs a message.

str - the message string to be output.