This method of the SecurityExceptionEx Class retrieves the name of a specific method, found on the call stack, that caused a security violation. Typically, a security violation occurs when the class associated with the method lacks the proper permissions to satisfy a permission-based security check using the PolicyEngine class.
public String getFailingMethodName();
Returns the name of the method that caused the security violation. This value might be null, depending on the context in which the SecurityExceptionEx is thrown.