org.bigraphs.spring.data.cdo.DataNotFoundException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-data-cdo Show documentation
Show all versions of spring-data-cdo Show documentation
CDO support for Spring Data
package org.bigraphs.spring.data.cdo;
import org.springframework.dao.DataAccessException;
import org.springframework.dao.DataRetrievalFailureException;
/**
* This exception is thrown if certain expected data could not be retrieved in the storage, e.g.
* when looking up specific data via a known identifier.
*
* A possible reason might be that the data to be retrieved doesn't longer exist in the storage because it was removed
* within another transaction or session.
*
* @author Dominik Grzelak
*/
public class DataNotFoundException extends DataRetrievalFailureException {
public DataNotFoundException(String msg) {
super(msg);
}
public DataNotFoundException(String msg, Throwable cause) {
super(msg, cause);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy