test of internal exception throwing (with class, method and line infos)