|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.ehcache.spi.loaderwriter.CacheWritingException
org.ehcache.spi.loaderwriter.BulkCacheWritingException
public class BulkCacheWritingException
Thrown by a Cache when its CacheLoaderWriter
fails while bulk mutating values.
| Constructor Summary | |
|---|---|
BulkCacheWritingException(java.util.Map<?,java.lang.Exception> failures,
java.util.Set<?> successes)
Constructs a BulkCacheWritingException instance with the given map and set. |
|
| Method Summary | |
|---|---|
java.util.Map<?,java.lang.Exception> |
getFailures()
Returns the map of keys to exception. |
java.lang.String |
getMessage()
|
java.util.Set<?> |
getSuccesses()
Returns the set of keys that were successfully written. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, 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 |
|---|
public BulkCacheWritingException(java.util.Map<?,java.lang.Exception> failures,
java.util.Set<?> successes)
BulkCacheWritingException instance with the given map and set.
The given arguments are:
failures - the map of keys to failure encountered while loadingsuccesses - the map of keys successfully loaded and their associated value| Method Detail |
|---|
public java.util.Map<?,java.lang.Exception> getFailures()
public java.util.Set<?> getSuccesses()
public java.lang.String getMessage()
getMessage in class java.lang.Throwable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||