org.broadleafcommerce.inventory.exception
Class ConcurrentInventoryModificationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.broadleafcommerce.inventory.exception.ConcurrentInventoryModificationException
All Implemented Interfaces:
Serializable

public class ConcurrentInventoryModificationException
extends Exception

This is an exception that is thrown in case two threads try to concurrently modify inventory. It is a friendlier business exception, thrown as a result of an OptimisticLockException.

Author:
jfridye
See Also:
Serialized Form

Constructor Summary
ConcurrentInventoryModificationException()
           
ConcurrentInventoryModificationException(String message)
           
ConcurrentInventoryModificationException(String message, Throwable cause)
           
ConcurrentInventoryModificationException(Throwable cause)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConcurrentInventoryModificationException

public ConcurrentInventoryModificationException()

ConcurrentInventoryModificationException

public ConcurrentInventoryModificationException(String message,
                                                Throwable cause)

ConcurrentInventoryModificationException

public ConcurrentInventoryModificationException(String message)

ConcurrentInventoryModificationException

public ConcurrentInventoryModificationException(Throwable cause)


Copyright © 2013. All Rights Reserved.