Name

UnknownServiceException

Synopsis

Signals an attempt to use an unsupported service of a network connection.

java.net.UnknownServiceException

Figure 12-24. java.net.UnknownServiceException

public class UnknownServiceException extends java.io.IOException {
// Public Constructors
     public UnknownServiceException( );  
     public UnknownServiceException(String msg);  
}

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.