org.kuali.rice.core.framework.persistence.ojb
Class DataAccessUtils

java.lang.Object
  extended by org.kuali.rice.core.framework.persistence.ojb.DataAccessUtils

public final class DataAccessUtils
extends Object

Provides some simple utilities for working with data access exceptions.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Method Summary
static void addOptimisticLockExceptionClass(Class<? extends Throwable> exceptionClass)
           
static Set<Class<? extends Throwable>> getOptimisticLockExceptionClasses()
           
static boolean isOptimisticLockFailure(Throwable exception)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isOptimisticLockFailure

public static boolean isOptimisticLockFailure(Throwable exception)

addOptimisticLockExceptionClass

public static void addOptimisticLockExceptionClass(Class<? extends Throwable> exceptionClass)

getOptimisticLockExceptionClasses

public static Set<Class<? extends Throwable>> getOptimisticLockExceptionClasses()


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.