Changed to throw new Exception from die() in DatabaseInterface