TypeLib bulder exception handling