Since: API Level 1
public interface

PrivilegedExceptionAction

java.security.PrivilegedExceptionAction<T>

Class Overview

PrivilegedAction represents an action, that can be executed privileged regarding access control. Instances of PrivilegedAction can be executed invoking AccessController.doPrivileged().

Summary

Public Methods
abstract T run()
Returns the result of running the action.

Public Methods

public abstract T run ()

Since: API Level 1

Returns the result of running the action.

Returns
  • the result of running the action
Throws
Exception if an exception occurred.