Examples of AuditException


Examples of org.hibernate.envers.exception.AuditException

        Setter setter = ReflectionTools.getSetter(obj.getClass(),
                commonCollectionMapperData.getCollectionReferencingPropertyData());
        try {
            setter.set(obj, proxyConstructor.newInstance(getInitializor(verCfg, versionsReader, primaryKey, revision)), null);
        } catch (InstantiationException e) {
            throw new AuditException(e);
        } catch (IllegalAccessException e) {
            throw new AuditException(e);
        } catch (InvocationTargetException e) {
            throw new AuditException(e);
        }
    }
View Full Code Here

Examples of org.hibernate.envers.exception.AuditException

        Object ret;
        try {
            final Class clazz = Thread.currentThread().getContextClassLoader().loadClass(compositeIdClass);
            ret = ReflectHelper.getDefaultConstructor(clazz).newInstance();
        } catch (Exception e) {
            throw new AuditException(e);
        }

        for (SingleIdMapper mapper : ids.values()) {
            mapper.mapToEntityFromEntity(ret, data);
        }
View Full Code Here

Examples of org.pentaho.platform.api.engine.AuditException

      } finally {
        fw.flush();
        fw.close();
      }
    } catch ( IOException ex ) {
      throw new AuditException( ex );
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.