JBoss Community

UndeclaredThrowableException?

created by makar potekhin in JBoss AS 7 Development - View the full discussion

Hello, guys. I am developing a standalone-application and try handle optimistic lock exception. I generate this exception and on the client side catch java.lang.reflect.UndeclaredThrowableException (java.lang.ClassNotFoundException: org.hibernate.OptimisticLockException) instead OptimisticLockException. jboss-client.jar is connected to the client. Do I still need to connect hibernate-core.jar?

Sorry for my English :)

Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community