add include memory for definition of shared_ptr in Exception.h