Android java net unknown

Unknown Host Exception Class

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.

Thrown to indicate that the IP address of a host could not be determined.

[Android.Runtime.Register("java/net/UnknownHostException", DoNotGenerateAcw=true)] public class UnknownHostException : Java.IO.IOException
[] type UnknownHostException = class inherit IOException

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.

Constructors

Constructs a new UnknownHostException with no detail message.

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

Constructs a new UnknownHostException with the specified detail message.

Fields

Properties

Returns the cause of this throwable or null if the cause is nonexistent or unknown.

The handle to the underlying Android instance.

Creates a localized description of this throwable.

Returns the detail message string of this throwable.

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Methods

Appends the specified exception to the exceptions that were suppressed in order to deliver this exception.

Fills in the execution stack trace.

Provides programmatic access to the stack trace information printed by #printStackTrace() .

Returns an array containing all of the exceptions that were suppressed, typically by the try -with-resources statement, in order to deliver this exception.

Initializes the cause of this throwable to the specified value.

Prints this throwable and its backtrace to the standard error stream.

Prints this throwable and its backtrace to the specified print stream.

Prints this throwable and its backtrace to the specified print writer.

Sets the stack trace elements that will be returned by #getStackTrace() and printed by #printStackTrace() and related methods.

Explicit Interface Implementations

IJavaPeerable.Disposed() (Inherited from Throwable)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Throwable)
IJavaPeerable.Finalized() (Inherited from Throwable)
IJavaPeerable.JniManagedPeerState (Inherited from Throwable)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Throwable)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Throwable)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Throwable)

Extension Methods

Performs an Android runtime-checked type conversion.

Источник

Читайте также:  Задать массив целых чисел python
Оцените статью