All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.commons.CacheException Maven / Gradle / Ivy

There is a newer version: 15.1.0.Dev04
Show newest version
package org.infinispan.commons;

/**
 * Thrown when operations fail unexpectedly.
 * 

* Specific subclasses such as {@link org.infinispan.util.concurrent.TimeoutException} and {@link * org.infinispan.commons.CacheConfigurationException} 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.getMessage(), cause); } public CacheException(String msg) { super(msg); } public CacheException(String msg, Throwable cause) { super(msg, cause); } public CacheException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) { super(message, cause, enableSuppression, writableStackTrace); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy