Added way to allow exceptions in metadata handling to be thrown when
running in the IDE