I am working on a basic CRUD application in Java. I have a JFrame form with add, delete, edit and update options. I have designed the delete button with just the ability to search by user ID and delete the entire record from table, but I am confused on what to do if the ID doesn't exist or the ID is already deleted. I get the same message in all three scenarios in my try catch block. Can someone help me design errors to show when the user ID doesn't exist and when the user ID is already deleted?