First
throw
and then
try
to
catch
it! Just kidding :)
The syntax looks correct. However, you need to use
catch(System.Exception ex)
or use
using System;
in the beginning of your file. This hint can be seen in the error statement itself.
The type or namespace name 'Exeption' could not be found (
are you missing a using directive or an assembly reference?)
Hope this helps.
Also noted that Exception is misspelled.