Package Summary  Overview Summary

class:PrivilegedActionException [NONE]

constructor:<init>(java.lang.Exception) [NONE]

  • PrivilegedActionException

    public PrivilegedActionException​(Exception exception)
    Constructs a new PrivilegedActionException "wrapping" the specific Exception.
    Parameters:
    exception - The exception thrown

method:getException() [NONE]

method:getCause() [NONE]

  • getCause

    public Throwable getCause()
    Returns the cause of this exception (the exception thrown by the privileged computation that resulted in this PrivilegedActionException).
    Overrides:
    getCause in class Throwable
    Returns:
    the cause of this exception.
    Since:
    1.4

method:toString() [NONE]

  • toString

    public String toString()
    Description copied from class: Throwable
    Returns a short description of this throwable. The result is the concatenation of: If getLocalizedMessage returns null, then just the class name is returned.
    Overrides:
    toString in class Throwable
    Returns:
    a string representation of this throwable.

© 2018 Oracle Corporation and/or its affiliates