Opened 7 years ago

Closed 5 years ago

#11483 closed Bugs (fixed)

boost::uuids::*_generator throw std::runtime_error when given invalid arguments

Reported by: Jim King <jim.king@…> Owned by: James E. King, III
Milestone: Boost 1.66.0 Component: uuid
Version: Boost 1.53.0 Severity: Cosmetic
Keywords: Cc:

Description

When invalid input data is provided to any of the generators, they currently return std::runtime_error. A more correct exception might be std::invalid_argument.

Change History (4)

comment:1 by Jim King <jim.king@…>, 7 years ago

Summary: boost::uuids::*_generator return std::runtime_error when given invalid argumentsboost::uuids::*_generator throw std::runtime_error when given invalid arguments

comment:2 by James E. King, III <jking@…>, 5 years ago

A fix for this can be found in the PR https://github.com/boostorg/uuid/pull/17/files

comment:3 by James E. King, III, 5 years ago

Owner: changed from Andy Tompkins to James E. King, III

comment:4 by James E. King, III, 5 years ago

Milestone: To Be DeterminedBoost 1.66.0
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.