Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact

Related technical and longer articles
errors v exceptions
Tips and short articles on this subject
Handling unusual and error conditions - exceptions
Exceptions in Java - why and how
What are exceptions - Python based answer
Final, Finally and Finalize - three special words in Java
Well House Consultants
You are on the site of Well House Consultants who provide Open Source Training Courses and business hotel accommodation. You are welcome to browse and use our resources subject to our copyright statement and to add in links from your pages to ours.
Other subject areas - resources
Java Resources
Well House Manor Resources
Perl Resources
Python Resources
PHP Resources
Object Orientation and General topics
MySQL Resources
Linux / LAMP / Tomcat Resources
Well House Consultants Resources
Extras Resources
C and C++ Resources
Ruby Resources
Tcl/Tk Resources
Web and Intranet Resources
Java module J712
Exceptions
Exercises, examples and other material relating to training module J712. This topic is presented on public courses Learning to Program in Java, Java Bootcamp, Java Programming for the Web

Learning to Program in Java - Writing Java programs for newcomers to programming. This course introduces you to programming in the Java programming language. ...
http://www.wellho.net/course/sjfull.html  [course]
Java Bootcamp - An intense course on Java programming, Servlets and JSPs This course introduces you to the Java programming language, and its Internet ...
http://www.wellho.net/course/bjfull.html  [course]
Java Programming for the Web - Learn to write server- or client-side applications in Java. This course introduces you to the Java programming language, ...
http://www.wellho.net/course/jpfull.html  [course]
A final method or variable is one that can't be overridden - you can define a method as final within a class to ensure that any extensions to the class ...
http://www.wellho.net/mouth/1066_Fin ... -Java.html  [short article]
It s said that between a half and 95% of a program will be given over to error checking. Indeed some of the web based programs on this site are little ...
http://www.wellho.net/solutions/general- ... tions.html  [longer article]
Although it's common practise to include a static main test program in a class, it's something that newcomers can have some difficulty following ... so ...
http://www.wellho.net/mouth/2420_Exc ... d-how.html  [short article]
How do you check for run time errors in your program? You'll include tests with if statements in almost every program you write, to ensure that user ...
http://www.wellho.net/mouth/1875_Wha ... nswer.html  [short article]

Your program is affected by the environment around it. Its performance will vary depending on aspects as diverse as user inputs and the availability (or lack) of a network service. Java provides you with exceptions, which are a mechanism through which you trap and handle behaviours that differ from the norm.

This topic is presented on public courses Learning to Program in Java, Java Bootcamp, Java Programming for the Web

Examples from our training material
E1.java   Class to which to add exception handling during practicals
neston.java   Catching an exception
wadswick.java   Sample program that will throw an exception, not catch it, and fail
Background information
This module is available under an Open Training Notes License for free download from http://www.training-notes.co.uk.
Topics covered in this module
"trying" and "catching".
"throwing".
"finally".
Defining your own exceptions.
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule page.

Well House Consultants specialise in training courses in Java,Python, Perl, PHP, and MySQL. We run Private Courses throughout the UK (and beyond for longer courses), and Public Courses at our training centre in Melksham, Wiltshire, England. It's surprisingly cost effective to come on our public courses - even if you live in a different country or continent to us.

We have a technical library of over 700 books on the subjects on which we teach. These books are available for reference at our training centre. Also available is the Opentalk Forum for discussion of technical questions.


You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2010: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 344596 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho