Java Reference
In-Depth Information
8.7
Exceptions
An exception is an event that occurs during the execution of a
program that disrupts the normal flow of instructions. Java provides
checked and unchecked exceptions. For checked exceptions, where
the application can take appropriate actions for anticipated errors,
JDM provides the javax.datamining.JDMException as the base class
that inherits from the standard Java exception. JDM provides sub-
classes of JDMException to allow specialized exception handling in
applications.
Unchecked exceptions result from unanticipated application
execution failure and may require stopping the application. For
unchecked exceptions, vendors may choose among several
options: throw standard Java RuntimeException objects, wrap these
exceptions as appropriate in JDMException or JDMRuntimeExcep-
tion objects, or throw the specific JDM subclass of a Java runtime
exception.
java::lang
Exception
java::lang
RuntimeException
javax::datamining
TaskException
javax::datamining
JDMException
java::lang
IllegalArgumentException
java::lang
UnsupportedOperationException
javax::datamining
ConnectionFailureException
javax::datamining
JDMIllegalArgumentException
javax::datamining
InvalidURIException
javax::datamining
JDMUnsupportedFeatureException
javax::datamining
IncompatibleSpecificationException
javax::datamining
InvalidObjectException
javax::datamining
ObjectExistsException
javax::datamining
DuplicateEntryException
javax::datamining
ObjectNotFoundException
javax::datamining
EntryNotFoundException
Figure 8-18
JDM exception classes.
 
Search WWH ::




Custom Search