Only catch the exceptions occured in the library itself