SQL Exception handlers added