PrivilegedExceptionAction

  • PrivilegedExceptionAction is legacy security code and should not be used in new code.

  • It contains a single method, run(), which executes an action and may throw an Exception.

  • run() is an abstract method, meaning it must be implemented by concrete classes that use this interface.

public interface PrivilegedExceptionAction

Legacy security code; do not use.

Public Method Summary

abstract T
run()

Public Methods

public abstract T run ()

Throws
Exception