Added a method to common.util.Exceptions