加载中...
The Wayback Machine - https://sup1a9wrlpyh5li9ro.vcoronado.top/web/20090302004742/http://developer.android.com:80/reference/java/net/UnknownServiceException.html
public class

UnknownServiceException

extends IOException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.io.IOException
         ↳ java.net.UnknownServiceException

Class Overview

This UnknownServiceException is thrown when a particular service requested isn't support by the URL. Examples are attempts to read from an URL via an InputStream or write to an URL via an OutputStream

Summary

Public Constructors
UnknownServiceException()
Constructs a new instance of this class with its walkback filled in.
UnknownServiceException(String detailMessage)
Constructs a new instance of this class with its walkback and message filled in.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public UnknownServiceException ()

Constructs a new instance of this class with its walkback filled in.

public UnknownServiceException (String detailMessage)

Constructs a new instance of this class with its walkback and message filled in.

Parameters
detailMessage String The detail message for the exception.