Choose your database:
AnySQL
MySQL
MS SQL Server
PostgreSQL
SQLite
Firebird
Oracle
SQL Anywhere
DB2
MaxDB

Subscribe to our news:
Partners
Testimonials
Neil McPherson: "Thanks very much for your advice. I would just like to add that SQL Maestro makes life so much easier to work with Firebird, I have tried some of the other management tools but Maestro is such a nicely organized product and it has never let me down".
Brian Vivian: "Thank you very much for making such a great product. It makes my job a LOT easier".

More

Add your opinion

Firebird Maestro online Help

Prev Return to chapter overview Next

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.

 



Prev Return to chapter overview Next