Add exception conversion to build