Share via


HttpException Constructors

Definition

Overloads

HttpException()

Creates a new HttpException with a null detail message.

HttpException(String)

Creates a new HttpException with the specified detail message.

HttpException(IntPtr, JniHandleOwnership)

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

HttpException(String, Throwable)

Creates a new HttpException with the specified detail message and cause.

HttpException()

Creates a new HttpException with a null detail message.

[Android.Runtime.Register(".ctor", "()V", "")]
public HttpException ();
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

HttpException(String)

Creates a new HttpException with the specified detail message.

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

Parameters

message
String
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

HttpException(IntPtr, JniHandleOwnership)

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

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

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

HttpException(String, Throwable)

Creates a new HttpException with the specified detail message and cause.

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

Parameters

message
String
cause
Throwable
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