#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2012
    Posts
    1
    Rep Power
    0

    SQLExceptions: List of error codes for oracle?


    Hello There,

    I am trying to handle SQLExceptions. The database used is Oracle 11g.
    The purpose is to show user friendly messages based on the error codes.
    To do this, i can find one way to go for error codes.
    In the catch i will write switch statement having cases for different error codes and i will show
    user friendly messages based on that.

    The problem is, i did not found the list of error codes for oracle.
    Can anybody please help on this.

    Thanks,
    Arfeen.
  2. #2
  3. Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    May 2004
    Location
    Superior, CO, USA
    Posts
    2,418
    Rep Power
    1713
    JDBC Error Messages

    See also this link. You don't have to write your own conversion.

IMN logo majestic logo threadwatch logo seochat tools logo