Thanks a lot, the 'Use' was my typing mistake (in the code I don't have it), but the semi-colon solved the problem.
Can you refer me to the list of built-in exception I can throw/catch and how can I define a new exception (if possible) and throw/catch it.