This site is currently read-only as we are migrating to Oracle Forums for an improved community experience. You will not be able to initiate activity until January 31st, when you will be able to use this site as normal.

    Forum Stats

  • 3,890,588 Users
  • 2,269,776 Discussions


Login database error handling

User_Q9C3J Member Posts: 24 Green Ribbon


I am using JDev Studio Edition Version

I have been researching how to catch a database connection error and most say creating a custom class that extends DCErrorHandlerImpl with an override to reportException() is a good way to catch this.

However, I can't get this to work. I included the path in DataBindings.cpx ErrorHandlerClass attribute. I basically want to do error handling when the application can't get a db connection. For example, if the pool size is 1 and I try to access the app, is there a way to catch this exception in code? I can't get the reportException() function to be called when there is an exception for this.

Any help would be great, thanks.