Firebird Maestro online Help
Exceptions
An exception is a user-defined error with an associated message for use in stored procedures and triggers. Available in DSQL and isql.
New exceptions are created within Create Exception Wizard. In order to run the wizard you should either
• | select the Object | Create Database Object... main menu item; |
• | select the Exception icon in the Create Database Object dialog |
or
• | select the Exceptions list or any object from that list in the explorer tree; |
• | select the Create New Exception... item from the popup menu |
or
• | open the database in Database Editor and the Exceptions tab there; |
• | press the Insert key or select the Create New Exception... item from the popup menu (alternatively, you may use the corresponding link of the Navigation Bar). |
To create a new exception with the same properties as one of the existing exceptions has:
• | select the Object | Duplicate Database Object... main menu item; |
• | follow the instructions of Duplicate Object Wizard. |
|
Exceptions can be edited within Exception Editor. In order to run the editor you should either
• | select the exception for editing in the explorer tree (type the first letters of the exception name for quick search); |
• | select the Edit Exception ... item from the popup menu |
or
• | open the database in Database Editor and the Exceptions tab there; |
• | select the exception to edit; |
• | press the Enter key or select the Edit Exception item from the popup menu (alternatively, you may use the corresponding link of the Navigation Bar). |
|
To drop an exception:
• | select the exception to drop in the explorer tree; |
• | select the Drop Exception item from the popup menu |
or
• | open the database in Database Editor and the Exceptions tab there; |
• | select the exception to drop; |
• | press the Delete key or select the Drop Exception item from the popup menu (alternatively, you may use the corresponding link of the Navigation Bar) |
and confirm dropping in the dialog window.
|