cz.muni.fi.airportservicelayer.exceptions.BasicDataAccessException.java Source code

Java tutorial

Introduction

Here is the source code for cz.muni.fi.airportservicelayer.exceptions.BasicDataAccessException.java

Source

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.muni.fi.airportservicelayer.exceptions;

import org.springframework.dao.DataAccessException;

/**
 *
 * @author Sebastian Kupka
 */
public class BasicDataAccessException extends DataAccessException {

    public BasicDataAccessException(Throwable cause) {
        super("Exception on PersistanceLayer", cause);
    }

    public BasicDataAccessException(String msg, Throwable cause) {
        super(msg, cause);
    }

}