Lenguaje

SecurityException Constructores

Definición

Sobrecargas

Nombre Description
SecurityException()

Construye un objeto SecurityException sin mensaje de detalle.

SecurityException(Throwable)

Crea un SecurityException objeto con la causa especificada y un mensaje de detalle de (cause==null ? null : cause.toString()) (que normalmente contiene la clase y el mensaje de detalle de cause).

SecurityException(String)

Construye un SecurityException objeto con el mensaje de detalle especificado.

SecurityException(IntPtr, JniHandleOwnership)

Constructor utilizado al crear representaciones administradas de objetos JNI; llamado por el tiempo de ejecución.

SecurityException(String, Throwable)

Crea un SecurityException objeto con el mensaje de detalle y la causa especificados.

SecurityException()

Construye un objeto SecurityException sin mensaje de detalle.

[Android.Runtime.Register(".ctor", "()V", "")]
public SecurityException();
Atributos

Comentarios

Construye un objeto SecurityException sin mensaje de detalle.

Java documentación para java.lang.SecurityException.SecurityException().

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a

SecurityException(Throwable)

Crea un SecurityException objeto con la causa especificada y un mensaje de detalle de (cause==null ? null : cause.toString()) (que normalmente contiene la clase y el mensaje de detalle de cause).

[Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")]
public SecurityException(Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")>]
new Java.Lang.SecurityException : Java.Lang.Throwable -> Java.Lang.SecurityException

Parámetros

cause
Throwable

la causa (que se guarda para la recuperación posterior mediante el #getCause() método ). (Se permite un null valor e indica que la causa es inexistente o desconocida).

Atributos

Comentarios

Crea un SecurityException objeto con la causa especificada y un mensaje de detalle de (cause==null ? null : cause.toString()) (que normalmente contiene la clase y el mensaje de detalle de cause).

Agregado en 1.5.

Java documentación para java.lang.SecurityException.SecurityException(java.lang.Throwable).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a

SecurityException(String)

Construye un SecurityException objeto con el mensaje de detalle especificado.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public SecurityException(string? s);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.Lang.SecurityException : string -> Java.Lang.SecurityException

Parámetros

s
String

mensaje de detalle.

Atributos

Comentarios

Construye un SecurityException objeto con el mensaje de detalle especificado.

Java documentación para java.lang.SecurityException.SecurityException(java.lang.String).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a

SecurityException(IntPtr, JniHandleOwnership)

Constructor utilizado al crear representaciones administradas de objetos JNI; llamado por el tiempo de ejecución.

protected SecurityException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Lang.SecurityException : nativeint * Android.Runtime.JniHandleOwnership -> Java.Lang.SecurityException

Parámetros

javaReference
IntPtr

nativeint

que IntPtrcontiene una referencia de objeto Java Native Interface (JNI).

transfer
JniHandleOwnership

un JniHandleOwnershipvalor de tipo que indica cómo controlar javaReference

Comentarios

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a

SecurityException(String, Throwable)

Crea un SecurityException objeto con el mensaje de detalle y la causa especificados.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")]
public SecurityException(string? message, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")>]
new Java.Lang.SecurityException : string * Java.Lang.Throwable -> Java.Lang.SecurityException

Parámetros

message
String

el mensaje de detalles (que se guarda para su recuperación posterior mediante el #getMessage() método ).

cause
Throwable

la causa (que se guarda para la recuperación posterior mediante el #getCause() método ). (Se permite un null valor e indica que la causa es inexistente o desconocida).

Atributos

Comentarios

Crea un SecurityException objeto con el mensaje de detalle y la causa especificados.

Agregado en 1.5.

Java documentación para java.lang.SecurityException.SecurityException(java.lang.String, java.lang.Throwable).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a