Search notes:

SQL Server T-SQL: Intercept thrown exceptions with the catch statement

In a catch block, the severity level can be determined with error_severity().

See also

The throw statement.

Index