public class PersistenceExceptionConverter extends Object implements InvocationHandler
Modifier and Type | Method and Description |
---|---|
static ModelException |
convert(Throwable t) |
static javax.persistence.EntityManager |
create(javax.persistence.EntityManager em) |
Object |
invoke(Object proxy,
Method method,
Object[] args) |
public static javax.persistence.EntityManager create(javax.persistence.EntityManager em)
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke
in interface InvocationHandler
Throwable
public static ModelException convert(Throwable t)
Copyright © 2020 JBoss by Red Hat. All rights reserved.