This method of the SecurityExceptionEx Class converts the SecurityExceptionEx object to its string representation.
public String toString();
Returns the string representation of the SecurityExceptionEx object.
The representation of a SecurityExceptionEx differs slightly from the standard java.lang.Throwable output in that it also includes the class and method name of the stack frame that caused the security violation.
The string representation of a SecurityExceptionEx object is shown in the following example:
<ex-name>[<class>.<method>]: <detail> or <ex-name>[Unknown]: <detail>
The bracketed names have the following meanings:
<ex-name>
The name of the exception (com.ms.security.SecurityExceptionEx).
<class>
The name of the failing class.
<method>
The name of the failing method.
<detail>
The detail message.