Microsoft SDK for Java

getFailingClassName

This method of the SecurityExceptionEx Class retrieves the name of the class that caused the security violation. Typically, this would be the class type of a caller (found on the call stack) that lacked the proper permissions to satisfy a permission-based security check using the PolicyEngine class.

Syntax

public String getFailingClassName();

Return Value

Returns the name of the class that caused the security violation. This value might be null, depending on the context in which the SecurityExceptionEx is thrown.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.