Top Description Fields Constructors Methods
net.sf.ehcache.store.disk

public Class StoreUpdateException

extends CacheWriterManagerException
Class Inheritance
Imports
net.sf.ehcache.writer.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

Field Summary

Modifier and TypeField and Description
private final boolean

Constructor Summary

AccessConstructor and Description
public
StoreUpdateException(final RuntimeException
the cause of the failure
e
,
final boolean
true if element was updated, false if inserted
update
)

Constructor

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if element was updated, false if inserted
isUpdate
()

Whether the element was inserted or updated in the Store

Inherited from net.sf.ehcache.writer.CacheWriterManagerException:
getCause

Field Detail

updateback to summary
private final boolean update

Constructor Detail

StoreUpdateExceptionback to summary
public StoreUpdateException(final RuntimeException e, final boolean update)

Constructor

Parameters
e:RuntimeException

the cause of the failure

update:boolean

true if element was updated, false if inserted

Method Detail

isUpdateback to summary
public boolean isUpdate()

Whether the element was inserted or updated in the Store

Returns:boolean

true if element was updated, false if inserted