/**
* Copyright (C) 2006, 2007 David Bulmore, Software Sensation Inc.
* All Rights Reserved.
*
* This file is part of JPersist.
*
* JPersist is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License (Version 2) as published by
* the Free Software Foundation.
*
* JPersist is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
*
* You should have received a copy of the GNU General Public License
* along with JPersist; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
package jpersist;
import jcommontk.utils.ExceptionUtils.JCommonException;
public class JPersistException extends JCommonException
{
private static final long serialVersionUID = 100L;
public static final String DATABASE_CLOSED = "Database is closed";
public static final String SQL_STATEMENT_NULL = "SQL statement is null or empty";
public JPersistException(Throwable cause) { super(cause); }
public JPersistException(String message) { super(message); }
public JPersistException(String message, Throwable cause) { super(message, cause); }
}
|