Microsoft SDK for Java

toString

This method of the SecurityExceptionEx Class converts the SecurityExceptionEx object to its string representation.

Syntax

public String toString();

Return Value

Returns the string representation of the SecurityExceptionEx object.

Remarks

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.

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