public DBException(Exception e,String sql,Object[] params){
  this(e);
  m_sql=sql;
  if (params != null)   m_params=Arrays.copyOf(params,params.length);
}

public DBException ( Exception e , String sql , Object [ ] params ) { this ( e ) ; m_sql = sql ; if ( params != null ) m_params = Arrays . copyOf ( params , params . length ) ; }
create a new dbexception based on a sqlexception and sql query
