Subject | How do I get my Firebird exception name or number |
---|---|
Author | feddkraft |
Post date | 2004-01-17T22:16:26Z |
Hallo,
I set up different exception in by database, and they sometimes
occur :)
How do I get their number (ID) or better their names?
While debugging I can see this name and ID in
org.firebirdsql.jdbc.FBSQLException object when I browse wrapped
objects (pressing (+) in JBuilder on "next" several times), but when
I use fe.getErrorCode() method I get number like 335544382...
What id the right way to catch my exceptions and perform different
actions on different exceptions?
Fedd
I set up different exception in by database, and they sometimes
occur :)
How do I get their number (ID) or better their names?
While debugging I can see this name and ID in
org.firebirdsql.jdbc.FBSQLException object when I browse wrapped
objects (pressing (+) in JBuilder on "next" several times), but when
I use fe.getErrorCode() method I get number like 335544382...
What id the right way to catch my exceptions and perform different
actions on different exceptions?
Fedd