package org.theonefx.wcframework.jdbc.exception; /** * Exception thrown if certain expected data could not be retrieved, e.g. * when looking up specific data via a known identifier. This exception * will be thrown either by O/R mapping tools or by DAO implementations. */ public class DataRetrievalFailureException extends NonTransientDataAccessException { private static final long serialVersionUID = -864813362834819842L; /** * Constructor for DataRetrievalFailureException. * @param msg the detail message */ public DataRetrievalFailureException(String msg) { super(msg); } /** * Constructor for DataRetrievalFailureException. * @param msg the detail message * @param cause the root cause from the data access API in use */ public DataRetrievalFailureException(String msg, Throwable cause) { super(msg, cause); } }