EXCEPTION <id> [ "(" <parm type> ")" ] ";"
Exceptions can only be declared at the top-level of a module or interface. If they will take an argument, a parameter type <parm type> must be specified in parentheses.
EXCEPTION UserAbort(TEXT); EndOfFile;