convert sql exception dialog to .ui

Change-Id: I57878f8c9fcae09e3904c4e316ffa6277625b960