fix compile error
Merge pull request #2 from QuentinPerez/fix-compile-throw

fix compile error