If one of these called functions throws an exception, then unless explicitly noted otherwise,
the input function sets
badbit
in the error state
. If
badbit
is set in
exceptions(),
the input function
rethrows the exception without completing its actions, otherwise
it does not throw anything and proceeds as if the called function had returned
a failure indication
.