Most visited

Recently visited

Added in API level 1

SecurityException

public class SecurityException
extends RuntimeException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ java.lang.SecurityException
Known Direct Subclasses


由安全经理投掷,以指示安全违规。

也可以看看:

Summary

Public constructors

SecurityException()

构造一个没有详细消息的 SecurityException

SecurityException(String s)

用指定的详细信息构造一个 SecurityException

SecurityException(String message, Throwable cause)

用指定的详细信息和原因创建一个 SecurityException

SecurityException(Throwable cause)

创建 SecurityException与指定的原因和 (cause==null ? null : cause.toString())详细消息(它通常包含的 cause类和详细消息)。

Inherited methods

From class java.lang.Throwable
From class java.lang.Object

Public constructors

SecurityException

Added in API level 1
SecurityException ()

构造一个没有详细消息的 SecurityException

SecurityException

Added in API level 1
SecurityException (String s)

用指定的详细信息构造一个 SecurityException

Parameters
s String: the detail message.

SecurityException

Added in API level 1
SecurityException (String message, 
                Throwable cause)

用指定的详细信息和原因创建一个 SecurityException

Parameters
message String: the detail message (which is saved for later retrieval by the getMessage() method).
cause Throwable: the cause (which is saved for later retrieval by the getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

SecurityException

Added in API level 1
SecurityException (Throwable cause)

创建 SecurityException与指定的原因和 (cause==null ? null : cause.toString())详细消息(它通常包含的 cause类和详细消息)。

Parameters
cause Throwable: the cause (which is saved for later retrieval by the getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

Hooray!