As these are standard exceptions, they need to be defined in the standard block, So it is defined under namespace std.
Previous Question Next Question
Your comments will be displayed only after manual approval.