I have a Select method connected to an ObjectDatasource, this method might throw an exception and I don't know how to handle it!
The problem is that I'm not controlling it. When the page is rendered then the select method is called directly by the ObjectDatasource and an unhandled exception is thrown directly.
On the other hand, I don't want to make it return empty collection if it has a problem because the collection might be empty without problems.
So, where can I handle the exception?
Any other options?