| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Invincisible
|
Errors with anyprogramming
Ok so ive been programming in jsp and whenever running sql commands you have to run a try statement and a catch for when there is an error. the catch does catch(exception e){ out.println(e.getMessage()); } thats all(i think) and i can enter anything I like, say there are no comments instead of having an sql message should i change it to say there is no comments or would there be a different way of doing this? Code:
dont mind the code its dirty ill fix it later |
|
|
|
![]() |