optim DomTools
non blocking errors : replaced throw by trace