org.infinispan.commons.CacheException Maven / Gradle / Ivy
package org.infinispan.commons;
/**
* Thrown when operations on {@link Cache} fail unexpectedly.
*
* Specific subclasses such as {@link org.infinispan.util.concurrent.TimeoutException} and {@link
* org.infinispan.config.ConfigurationException} have more specific uses.
*
* Transactions: if a CacheException (including any subclasses) is thrown for an operation on a JTA transaction, then
* the transaction is marked for rollback.
*
* @author Bela Ban
* @author Manik Surtani
* @author [email protected]
* @since 4.0
*/
public class CacheException extends RuntimeException {
/** The serialVersionUID */
private static final long serialVersionUID = -5704354545244956536L;
public CacheException() {
super();
}
public CacheException(Throwable cause) {
super(cause);
}
public CacheException(String msg) {
super(msg);
}
public CacheException(String msg, Throwable cause) {
super(msg, cause);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy