Language

ClientProtocolException Constructors

Definition

Overloads

Name Description
ClientProtocolException()

Creates an exception without a detail message.

ClientProtocolException(Throwable)

Creates an exception with the specified cause.

ClientProtocolException(String)

Creates an exception with the specified detail message.

ClientProtocolException(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

ClientProtocolException(String, Throwable)

Creates an exception with the specified detail message and cause.

ClientProtocolException()

Creates an exception without a detail message.

[Android.Runtime.Register(".ctor", "()V", "")]
public ClientProtocolException();
Attributes

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

ClientProtocolException(Throwable)

Creates an exception with the specified cause.

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

Parameters

cause
Throwable

The exception that caused this error, or null if the cause is unknown.

Attributes

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

ClientProtocolException(String)

Creates an exception with the specified detail message.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public ClientProtocolException(string? s);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Org.Apache.Http.Client.ClientProtocolException : string -> Org.Apache.Http.Client.ClientProtocolException

Parameters

s
String

The detail message, or null if there is no message.

Attributes

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

ClientProtocolException(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected ClientProtocolException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.Apache.Http.Client.ClientProtocolException : nativeint * Android.Runtime.JniHandleOwnership -> Org.Apache.Http.Client.ClientProtocolException

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

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

ClientProtocolException(String, Throwable)

Creates an exception with the specified detail message and cause.

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

Parameters

message
String

The detail message, or null if there is no message.

cause
Throwable

The exception that caused this error, or null if the cause is unknown.

Attributes

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