Android
java.security
public class

java.security.PrivilegedActionException

java.lang.Object
java.lang.Throwable Serializable
java.lang.Exception
java.security.PrivilegedActionException

Instances of this class are used to wrap exceptions which occur within privileged operations.

Summary

Public Constructors

            PrivilegedActionException(Exception ex)
Constructs a new instance of this class with its exception filled in.

Public Methods

          Throwable  getCause()
Returns the cause of this Throwable, or null if there is no cause.
          Exception  getException()
Returns the exception which caused the receiver to be thrown.
          String  toString()
Returns a string containing a concise, human-readable description of the receiver.
Methods inherited from class java.lang.Throwable
Methods inherited from class java.lang.Object

Details

Public Constructors

public PrivilegedActionException(Exception ex)

Constructs a new instance of this class with its exception filled in.

Public Methods

public Throwable getCause()

Returns the cause of this Throwable, or null if there is no cause.

Returns

  • Throwable The receiver's cause.

public Exception getException()

Returns the exception which caused the receiver to be thrown.

Returns

  • exception

public String toString()

Returns a string containing a concise, human-readable description of the receiver.

Returns

  • String a printable representation for the receiver.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48