Exception handling

Posts   
 
    
Posts: 11
Joined: 29-Mar-2005
# Posted on: 10-Jun-2005 16:23:26   

What type of exception gets thrown when an oracle constraint is violated? I tried using the OracleException but it is not being caught.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 10-Jun-2005 16:36:16   

ORMQueryExecutionException.

The InnerException is the OracleException. Simply catch the ORMQueryExecutionException and rethrow the inner exception.

Frans Bouma | Lead developer LLBLGen Pro