CertStoreException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CertStoreException() |
Creates a |
CertStoreException(Throwable) |
Creates a |
CertStoreException(String) |
Creates a |
CertStoreException(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
CertStoreException(String, Throwable) |
Creates a |
CertStoreException()
Creates a CertStoreException
with null
as
its detail message.
[Android.Runtime.Register(".ctor", "()V", "")]
public CertStoreException ();
- Attributes
Remarks
Creates a CertStoreException
with null
as its detail message.
Java documentation for java.security.cert.CertStoreException.CertStoreException()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
CertStoreException(Throwable)
Creates a CertStoreException
that wraps the specified
throwable.
[Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")]
public CertStoreException (Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")>]
new Java.Security.Cert.CertStoreException : Java.Lang.Throwable -> Java.Security.Cert.CertStoreException
Parameters
- cause
- Throwable
the cause (which is saved for later retrieval by the
#getCause getCause()
method). (A null
value is
permitted, and indicates that the cause is nonexistent or unknown.)
- Attributes
Remarks
Creates a CertStoreException
that wraps the specified throwable. This allows any exception to be converted into a CertStoreException
, while retaining information about the cause, which may be useful for debugging. The detail message is set to (cause==null ? null : cause.toString()
) (which typically contains the class and detail message of cause).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
CertStoreException(String)
Creates a CertStoreException
with the given detail
message.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public CertStoreException (string? msg);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.Security.Cert.CertStoreException : string -> Java.Security.Cert.CertStoreException
Parameters
- msg
- String
the detail message
- Attributes
Remarks
Creates a CertStoreException
with the given detail message. A detail message is a String
that describes this particular exception.
Java documentation for java.security.cert.CertStoreException.CertStoreException(java.lang.String)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
CertStoreException(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected CertStoreException (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Security.Cert.CertStoreException : nativeint * Android.Runtime.JniHandleOwnership -> Java.Security.Cert.CertStoreException
Parameters
- transfer
- JniHandleOwnership
A JniHandleOwnershipindicating how to handle javaReference
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
CertStoreException(String, Throwable)
Creates a CertStoreException
with the specified detail
message and cause.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")]
public CertStoreException (string? msg, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")>]
new Java.Security.Cert.CertStoreException : string * Java.Lang.Throwable -> Java.Security.Cert.CertStoreException
Parameters
- msg
- String
the detail message
- cause
- Throwable
the cause (which is saved for later retrieval by the
#getCause getCause()
method). (A null
value is
permitted, and indicates that the cause is nonexistent or unknown.)
- Attributes
Remarks
Creates a CertStoreException
with the specified detail message and cause.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.