org.compiere.util
Class DBException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.compiere.util.DBException
- All Implemented Interfaces:
- Serializable
public class DBException
- extends RuntimeException
This RuntimeException is used to pass SQLException up the chain of calling
methods to determine what to do where needed.
- Version:
- $Id: DBException.java,v 1.2 2006/07/30 00:54:35 jjanke Exp $
- Author:
- Vincent Harcq
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
DBException
public DBException(Exception e)
- Create a new DBException based on a SQLException
- Parameters:
e - Specicy the Exception cause
DBException
public DBException(String msg)
- Create a new DBException
- Parameters:
msg - Message
Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.