I am working in J2EE conversion project from DB2 to oracle. The DB2Diagnosable is used in the java class for get detail information about SQLException for DB2 Database. I would like to know similar for Oracle database.
The following information can get it from DB2Diagnosable.
sqlCode, sqlErrmc, sqlErrmcTokens, sqlErrp, sqlErrd, sqlWarn and sqlState