org.keycloak.connections.jpa

## Class PersistenceExceptionConverter

- java.lang.Object
- - org.keycloak.connections.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 and Description
    --- | ---
    `static ModelException` | `convert(Throwable t)`
    `static javax.persistence.EntityManager` | `create(javax.persistence.EntityManager em)`
    `Object` | `invoke(Object proxy, Method method, Object[] args)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### create

          public static javax.persistence.EntityManager create(javax.persistence.EntityManager em)

    - #### invoke

          public Object invoke(Object proxy,
                               Method method,
                               Object[] args)
                        throws Throwable

      Specified by:
        `invoke` in interface `InvocationHandler`
      Throws:
        `Throwable`

    - #### convert

          public static ModelException convert(Throwable t)

Copyright © 2020 JBoss by Red Hat. All rights reserved.