#

| Chapter 25 The java.lang Package |

## 25.53 java.lang.SecurityException (JDK 1.0)

###

Signals that an operation is not permitted for security reasons.

    public class SecurityException extends RuntimeException {
        // Public Constructors
                public SecurityException();
                public SecurityException(String s);
    }

### Hierarchy:

Object->Throwable(Serializable)->Exception->RuntimeException->SecurityException

### Thrown By:

Beans.setDesignTime(), Beans.setGuiAvailable(), Class.getConstructor(), Class.getConstructors(), Class.getDeclaredClasses(), Class.getDeclaredConstructor(), Class.getDeclaredConstructors(), Class.getDeclaredField(), Class.getDeclaredFields(), Class.getDeclaredMethod(), Class.getDeclaredMethods(), Class.getField(), Class.getFields(), Class.getMethod(), Class.getMethods(), ObjectInputStream.enableResolveObject(), ObjectOutputStream.enableReplaceObject()

java.lang.RuntimeException (JDK 1.0) |  | java.lang.SecurityManager (JDK 1.0)