allowing more flexibility in displaying exceptions