Vertaling van "OnException" in Engels
We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
Maintenant, ajoutez une nouvelle classe de contrôleur et ajoutez le code suivant qui substitue la méthode onException et jette une erreur dans notre méthode d'action explicitement
Now add a new Controller class and add the following code which overrides the onException method and explicitly throws an error in our Action method
Nous allons apprendre deux approches ici: une avec redéfinissant la méthode onException et un autre en définissant les filtres HandleError.
We are going to learn two approaches here: one with overriding the onException method and another by defining the HandleError filters.
Gestion des exceptions est fait simple dans ASP.Net MVC et il peut être fait simplement en remplaçant « OnException » et définissez la propriété résultat de l'objet filtercontext (comme indiqué ci-dessous) pour les détails de la vue, qui doit être renvoyé en cas d'exception.
Exception Handling is made simple in ASP.Net MVC and it can be done by just overriding "OnException" and set the result property of the filtercontext object (as shown below) to the view detail, which is to be returned in case of exception.
Andere resultaten
Utiliser le composant cOnException pour ignorer les exceptions et continuer le routage des messages
cOnException Ce composant capture les exceptions définies afin de déclencher les actions souhaitées sur les exceptions et le routage de message.
Exceptions Cette méthode peut lever une DOMException d'un de ces types suivants
Chaque exception a un nom, qui est une courte chaîne identifiant l'erreur ou la condition anormale. Constructeur DOMException()
isException() est utilisée pour déterminer si il existe au moins une exception.
isException() will tell you if an exception has been registered.
L'interface DOMException représente un évènement anormal (appelé exception) qui appraît suite à l'appel d'une méthode ou à l'accès à une propriété d'une API web.
The DOMException interface represents an abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API.
La question est de savoir s'il s'agit de 1'exception d'incompétence du tribunal ou de l'exception liée a la contestation de l'arbitre.
The question arises whether what is referred to is a plea that the tribunal does not have jurisdiction or a plea involving an objection to an arbitrator.
Pour la classe SerialPort, une exception IOException est levée lors de l'ouverture d'un port série sur IPAQ 4150.
For the SerialPort class, an IOException is thrown when opening a serial port on the IPAQ 4150.
La recommandation DOM Level 2 définie une seule exception DOMException et un nombre de constantes qui permettent aux applications à déterminer quelle type d'erreur s'est produit.
The DOM Level 2 recommendation defines a single exception, DOMException, and a number of constants that allow applications to determine what sort of error occurred.
Si une exception est ajoutée par le contrôleur frontal à la réponse, utilisez isException() pour vérifier ceci, et récupérez les exceptions avec getException().
Should an exception occur in an application, check the response object's isException() flag, and retrieve the exception using getException().