| Author |
Exception reporting through JPA
|
Shridhar Raghavan
Ranch Hand
Joined: May 27, 2010
Posts: 71
|
|
Hi,
I am using JPA for persistence. While developing my application i need to be able identify the invividual exceptions thrown to apply differing presentations. For eg : i need to show a different message when the db server is down, something else when the user has submit invalid data etc. How do i accomplish this if the JPA API just throws "it's own" wrapped exception while trying to do a CRUD operation to the database
|
 |
 |
|
|
subject: Exception reporting through JPA
|
|
|