org.ehcache.spi.loaderwriter.CacheWritingException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ehcache Show documentation
Show all versions of ehcache Show documentation
Ehcache single jar, containing all modules
The newest version!
/*
* Copyright Terracotta, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.ehcache.spi.loaderwriter;
/**
* Thrown by a {@link org.ehcache.Cache Cache} when the {@link CacheLoaderWriter}
* fails when writing a value.
*/
public class CacheWritingException extends RuntimeException {
private static final long serialVersionUID = -3547750364991417531L;
/**
* Constructs a {@code CacheWritingException}.
*/
public CacheWritingException() {
super();
}
/**
* Constructs a {@code CacheWritingException} with the provided message.
*
* @param message the detail message
*/
public CacheWritingException(final String message) {
super(message);
}
/**
* Constructs a {@code CacheWritingException} wrapping the {@link Throwable cause} passed in
* and with the provided message.
*
* @param message the detail message
* @param cause the root cause
*/
public CacheWritingException(final String message, final Throwable cause) {
super(message, cause);
}
/**
* Constructs a {@code CacheWritingException} wrapping the {@link Throwable cause} passed in.
*
* @param cause the root cause
*/
public CacheWritingException(final Throwable cause) {
super(cause);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy