EXCEPTIONS
The Class
Error
11.5.2
 22.2.14) because the string was too long or because the purported UTF 8
data was not the result of encoding a Unicode string into UTF 8.
The standard package
java.net
 defines the following additional subclasses of
java.io.IOException
:
N
java.net.MalformedURLException
: A string that was provided as a
URL, or as part of a URL, had an inappropriate format or specified an
unknown protocol.
N
java.net.ProtocolException
: Some aspect of a network protocol was
not correctly carried out.
N
java.net.SocketException
: An operation involving a socket could not
be completed normally.
N
java.net.UnknownHostException
: The name of a network host could
not be resolved to a network address.
N
java.net.UnknownServiceException
: The network connection cannot
support the requested service.
11.5.2   The Class
Error
The class
Error
 and its standard subclasses are exceptions from which ordinary
programs are not ordinarily expected to recover. The class
Error
 is a separate
subclass of
Throwable
, distinct from
Exception
 in the class hierarchy, to allow
programs to use the idiom:
} catch (Exception e) {
to catch all exceptions from which recovery may be possible without catching
errors from which recovery is typically not possible.
Package
java.lang
 defines all the error classes described here. These
classes, like all other classes in package
java.lang
, are implicitly imported and
therefore may be referred to by their simple names.
11.5.2.1
Loading and Linkage Errors
A Java Virtual Machine throws an object that is an instance of a subclass of
LinkageError
when a loading, linkage, preparation, verification or initialization
error occurs:
211






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

java hosting

 

Our partners: PHP: Hypertext Preprocessor Best Web Hosting Java Web Hosting Inexpensive Web Hosting  Jsp Web Hosting

Cheapest Web Hosting Jsp Hosting Cheap Hosting

Visionwebhosting.net Business web hosting division of Web Design Plus. All rights reserved