## Uses of Interface
java.security.PrivilegedExceptionAction

- Packages that use PrivilegedExceptionAction
  Package | Description
  --- | ---
  java.security |
  java.util.concurrent | Utility classes commonly useful in concurrent programming.

- - ### Uses of PrivilegedExceptionAction in java.security

    Methods in java.security with parameters of type PrivilegedExceptionAction
    Modifier and Type | Method and Description
    --- | ---
    `static <T> T` | AccessController.`doPrivileged(PrivilegedExceptionAction<T> action)` Performs the specified `PrivilegedExceptionAction` with privileges enabled.
    `static <T> T` | AccessController.`doPrivilegedWithCombiner(PrivilegedExceptionAction<T> action)` Performs the specified `PrivilegedExceptionAction` with privileges enabled.

  - ### Uses of PrivilegedExceptionAction in java.util.concurrent

    Methods in java.util.concurrent with parameters of type PrivilegedExceptionAction
    Modifier and Type | Method and Description
    --- | ---
    `static Callable<Object>` | Executors.`callable(PrivilegedExceptionAction<?> action)` Returns a `Callable` object that, when called, runs the given privileged exception action and returns its result.

Copyright © 2025 API Design. All Rights Reserved.