Implement support for exceptions in Pascal.