This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
hi am having a classcastexception, i know why i am. i caught it but cant get my code to delete a record in the database for me any ideas will be welcomed.could it be my logic? here is a fragment of the code
[ September 27, 2005: Message edited by: Michael Ernest ]
If the exception gets thrown before you reach the logic that deletes a record, catching the exception makes no difference. You need to figure out first where the exception occurs, and remove it so your method can run to completion.
Make visible what, without you, might perhaps never have been seen. - Robert Bresson