jdbcodbc « Exception « Java Database Q&A

1. how to fetch only reason from java exception    stackoverflow.com

when I connect to database and execute a query, then if there occurs any exception then I want to fetch only the reason of exception not the full message , so ...

3. JDBC/ODBC classnot found exception    coderanch.com

4. JDBC/ODBC class not found exception    coderanch.com