marc and Paul,
Firstly, thank you for responding to my
thread.
I have actually worked out the Exception to use so I have no problems now.
However, I would still be interest on when and what these are for?
I was originally having a date format of four digits.
The date was a
String (it had to be as one came in as 0181 and zero is not seen as an integer, instead it was hex as it started with zero).
I was then using the ParseException to change the string to a date format.
My correct code in the end was as follows:
Again, thank you for your help!