AccessController.doPrivileged
after enabling privileges.
@return a class-dependent value that may represent the results of thecomputation. Each class that implements PrivilegedExceptionAction
should document what (if anything) this value represents.
@throws Exception an exceptional condition has occurred. Each classthat implements PrivilegedExceptionAction
should document the exceptions that its run method can throw.
@see AccessController#doPrivileged(PrivilegedExceptionAction)
@see AccessController#doPrivileged(PrivilegedExceptionAction,AccessControlContext)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|