added detection of a serviceexception