org.springframework.batch.retry.policy
Class RetryCacheCapacityExceededException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.batch.retry.RetryException
org.springframework.batch.retry.policy.RetryCacheCapacityExceededException
- All Implemented Interfaces:
- Serializable
public class RetryCacheCapacityExceededException
- extends RetryException
Exception that indicates that a cache limit was exceeded. This is often a
sign of badly or inconsistently implemented hashCode, equals in failed items.
Items can then fail repeatedly and appear different to the cache, so they get
added over and over again until a limit is reached and this exception is
thrown. Consult the documentation of the RetryContextCache
in use to
determine how to increase the limit if appropriate.
- Author:
- Dave Syer
- See Also:
- Serialized Form
RetryCacheCapacityExceededException
public RetryCacheCapacityExceededException(String message)
- Constructs a new instance with a message.
- Parameters:
message
-
RetryCacheCapacityExceededException
public RetryCacheCapacityExceededException(String msg,
Throwable nested)
- Constructs a new instance with a message and nested exception.
- Parameters:
msg
- the exception message.
Copyright © 2009 SpringSource. All Rights Reserved.