BS-4382: reuse underlying message to throw exception and be able to
display it later in a popup