Share via


NoRouteToHostException Constructors

Definition

Overloads

NoRouteToHostException()

Construct a new NoRouteToHostException with no detailed message.

NoRouteToHostException(String)

Constructs a new NoRouteToHostException with the specified detail message as to why the remote host cannot be reached.

NoRouteToHostException(IntPtr, JniHandleOwnership)

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

NoRouteToHostException()

Construct a new NoRouteToHostException with no detailed message.

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

Remarks

Construct a new NoRouteToHostException with no detailed message.

Java documentation for java.net.NoRouteToHostException.NoRouteToHostException().

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

NoRouteToHostException(String)

Constructs a new NoRouteToHostException with the specified detail message as to why the remote host cannot be reached.

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

Parameters

msg
String

the detail message

Attributes

Remarks

Constructs a new NoRouteToHostException with the specified detail message as to why the remote host cannot be reached. A detail message is a String that gives a specific description of this error.

Java documentation for java.net.NoRouteToHostException.NoRouteToHostException(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

NoRouteToHostException(IntPtr, JniHandleOwnership)

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

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

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