adding doctrine annotations
adding Exception