Resolves fdo#75339 : No Error-Dialog appears in specific cases in Base

If SQLexception, just retrieve the information and display it

Change-Id: I236d1b7bc07dbbfa9c30b845a145208d1d3727f5