FR [ 1984794 ] DBException improvements - introduced org.compiere.util.DBException class for backward compatibility
This commit is contained in:
parent
ff1cbef06a
commit
7ab35749be
|
@ -0,0 +1,40 @@
|
|||
/******************************************************************************
|
||||
* Product: Adempiere ERP & CRM Smart Business Solution *
|
||||
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
|
||||
* This program is free software; you can redistribute it and/or modify it *
|
||||
* under the terms version 2 of the GNU General Public License as published *
|
||||
* by the Free Software Foundation. This program 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 this program; if not, write to the Free Software Foundation, Inc., *
|
||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
|
||||
* For the text or an alternative of this public license, you may reach us *
|
||||
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
|
||||
* or via info@compiere.org or http://www.compiere.org/license.html *
|
||||
*****************************************************************************/
|
||||
package org.compiere.util;
|
||||
|
||||
/**
|
||||
* This RuntimeException is used to pass SQLException up the chain of calling
|
||||
* methods to determine what to do where needed.
|
||||
*
|
||||
* @author Teo Sarca, SC ARHIPAC SERVICE SRL
|
||||
*
|
||||
* @deprecated This class was moved to {@link org.adempiere.exceptions.DBException}
|
||||
* and will be removed in future.
|
||||
*/
|
||||
@Deprecated
|
||||
public class DBException extends org.adempiere.exceptions.DBException {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public DBException(Exception e) {
|
||||
super(e);
|
||||
}
|
||||
|
||||
public DBException(String msg) {
|
||||
super(msg);
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue