Without this, attempting to use an unknown flag will throw an exception.
One option is to simply throw an exception.
Should a retrieval method return 'null' or throw an exception when it can't produce the return value?
Une méthode de récupération doit-elle renvoyer 'null'ou déclencher une exception lorsqu'elle ne peut pas produire la valeur de retour?
Otherwise, it will throw an exception.
Autrement, elle lève une exception.
Predecessor for the zero object that doesn't exist so we throw an exception.
Prédécesseur pour le zéro objet qui n'existe pas alors nous lève une exception.
In theory the assignment should be ignored by other browsers, but in practice some do throw an exception.
En théorie, l'affectation devrait être ignorée des autres navigateurs, mais en pratique, certains lèvent une exception.
Destructors are now never called for objects that throw an exception during the execution of their constructor.
Les destructeurs ne sont désormais jamais appelés pour les objets qui lèvent une exception pendant l'exécution de leur constructeur.
Again, for the subtraction, you, I would assume that the code will throw an exception if the result is negative.
Encore une fois, pour la soustraction, vous, je suppose que le code lèvera une exception si le résultat est négatif.
In the case of an empty folder, one response may be to throw an exception or return a null reference rather than a list.
Dans le cas d'un dossier vide, une réponse possible est de lever une exception ou de retourner une référence null plutôt qu'une liste.
So you are not caught off-guard by this, if you try to use a font that cannot be embedded, the factory method will throw an exception.
Donc vous devez faire attention, si vous essayez d'utiliser une police qui ne peut pas être incorporée, la méthode de création lèvera une exception.
The second is predecessor, which should return for a positive natural number, the one before that, and should throw an exception if the natural number is zero.
Le second est le prédécesseur, ce qui devrait retourner pour un nombre naturel positif, celui qui, avant et doit lever une exception si le nombre naturel est égale à zéro.
But that wouldn't be correct, because that would mean that we would essentially go down here until we hit zero, but then we would throw an exception.
Mais ce ne serait pas correct, parce que cela voudrait dire que nous allions essentiellement ici jusqu'à ce que nous avons atteint zéro, mais ensuite nous pourrait lever une exception.
If we try to remove a value from a binary heap that is not on it, it will throw an exception, so if my reasoning is wrong, we will probably see an exception when running the function.
Si nous essayons de supprimer du tas binaire, une valeur qui n'y ait pas, cela va lever une exception, donc si mon raisonnement est faux, nous verrons probablement une exception au moment d'exécuter la fonction.