net.sf.ehcache.store.disk
Class StoreUpdateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.sf.ehcache.CacheException
net.sf.ehcache.writer.CacheWriterManagerException
net.sf.ehcache.store.disk.StoreUpdateException
- All Implemented Interfaces:
- Serializable
public class StoreUpdateException
- extends CacheWriterManagerException
Exception thrown by the Store when the writer fails. Used to determine whether the element was inserted or updated in the Store
- Author:
- Alex Snaps
- See Also:
- Serialized Form
Method Summary |
boolean |
isUpdate()
Whether the element was inserted or updated in the Store |
StoreUpdateException
public StoreUpdateException(RuntimeException e,
boolean update)
- Constructor
- Parameters:
e
- the cause of the failureupdate
- true if element was updated, false if inserted
isUpdate
public boolean isUpdate()
- Whether the element was inserted or updated in the Store
- Returns:
- true if element was updated, false if inserted
Copyright 2001-2014, Terracotta, Inc.