Dividing by 0 leads to the fact that most processors follow some kind of escalation procedure, which can be called exception, signal, interruption, trap or something else in the jargon of the CPU manufacturer. None of them - even if the term "exception" is used - has anything to do with C ++ language exceptions.
In C ++, since it is usually expensive in CPU cycles and object dimensional code to retest for division by zero, the compiler-generated code for the built-in types is not required for any such verification. In practice, it is usually sufficient to trust what the programmer will code to avoid dividing by zero by inserting explicit checks into the subset of sections where they are useful; factoring such checks to avoid redundancy.
If a programmer wants a consistent, guaranteed check, he can create a custom type (a class with user-overloaded operators) that can be used instead of the built-in numeric type, but takes time to check for division by zero (or overflow, overflow or any other problems that the developer has ) and reacts, however, the programmer likes. I understand that in languages like JAVA and C # there is no operator overloading, which, I think, means they cannot painlessly replace the built-in type in this way, requiring invasive code changes to explicitly call functions instead of using intuitive mathematical operators.
In any case, since the C ++ standard itself does not indicate any behavior for situations with delimiters to zero, the implementation may provide some potentially useful behavior if it chooses. This might imagine that somehow generating a real C ++ language exception, but in practice it might be too expensive for processor cycles and code size to justify. Perhaps JAVA is so slow and bloated that a little extra check like this, neither here nor there ...?; -)
Suppose you are on an x86 family processor, the term for a 0 division notification is “interrupt”. But, if UNIX or Linux is running on this machine, partitioning results in a “signal” at the operating system level, and you can set up a signal handler to receive notification of a problem.