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] |
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] |
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] |
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.