Move common exception to namespace cores。
Merge pull request #2 from LancerHe/dev

Move common exception to namespace which is cores.