Java ERROR

Hi

I have got an idea to deal with messages comes from

try {} and catch{}

Insted of showing message by using ( e.getMessage()) inside catch{}

I want to display the error number so that I can make more control on my program

please if any boday can help I appreciate that.

[309 byte] By [JavaGASa] at [2007-11-26 22:32:23]
# 1
碬ell, catch SQLException, rather than Excpetion, then use getErrorCode rather than getMessage.Read the API next time.
masijade.a at 2007-7-10 11:38:38 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...