Class PersistenceExceptionConverter
- java.lang.Object
-
- org.keycloak.models.map.storage.jpa.PersistenceExceptionConverter
-
- All Implemented Interfaces:
InvocationHandler
public class PersistenceExceptionConverter extends Object implements InvocationHandler
- Author:
- Stian Thorgersen
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModelException
convert(Throwable t)
static javax.persistence.EntityManager
create(KeycloakSession session, javax.persistence.EntityManager em)
Object
invoke(Object proxy, Method method, Object[] args)
-
-
-
Method Detail
-
create
public static javax.persistence.EntityManager create(KeycloakSession session, javax.persistence.EntityManager em)
-
invoke
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
- Specified by:
invoke
in interfaceInvocationHandler
- Throws:
Throwable
-
convert
public static ModelException convert(Throwable t)
-
-