#6 added a UnknownUnitOfMeasure exception to replace a generic \Exception call.