Originally posted by fedai gandjaliyev:
Hello!
I have three JTextFields and each of them can throw an (different) exception and I need to display a message depending on the JTextField!
Is there a way of getting the source that caused the exception?
Thanks a lot!
I didn't get you exactly what you really want to know.
If you want to know that where exception is occured you can use printStackTrace() method of Exception class.
Come up with clearly stated question....