users@glassfish.java.net

Re: capture "com.mysql.jdbc.exceptions"

From: <glassfish_at_javadesktop.org>
Date: Fri, 11 Jan 2008 10:03:58 PST

Hi Marina,
in this way is the same:

try {

   [...]

} catch (PersistenceException e) {
   System.out.println(">>> "+e.getCause());
   return(1);
}

but may be I haven't undestood where you suggest to use the "PersistenceException"

Thanks,
s1
[Message sent by forum member 's1a2' (s1a2)]

http://forums.java.net/jive/thread.jspa?messageID=253467