-- --
-- B o d y --
-- --
--- Copyright (C) 1992-2009, Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2012, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
if Str (Ptr.all) not in '0' .. '9' then
Ptr.all := Start;
- raise Constraint_Error;
+ Bad_Value (Str);
end if;
Uval := Scan_Raw_Long_Long_Unsigned (Str, Ptr, Max);
then
return Long_Long_Integer'First;
else
- raise Constraint_Error;
+ Bad_Value (Str);
end if;
-- Negative values