Download for Windows Premium
Publiciteit
catch Block
catch block
catch clause
Im catch Block können die Eigenschaften des Objektes referenziert werden.
You can then reference the object's properties in the catch block.
Jeder try-Block muss mindestens einen zugehörigen catch Block besitzen.
Each try must have at least one corresponding catch block.
Die Variable existiert nur in dem catch Block.
This identifier is local to the catch clause.
Wenn ein Statement in dem try Block (oder eine im try Block aufgerufene Funktion) eine Exception wirft, wird der Kontrollfluss sofort an den catch Block übergeben.
If any statement within the try block (or in a function called from within the try block) throws an exception, control is immediately shifted to the catch clause.
Man muss einen try... catch Block benutzen um Ausnahmen abzufangen die auftreten wenn ein Gebietsschema benutzt wird das nicht existiert.
Use a try... catch block to handle exceptions that occur when using a locale that does not exist.
Wenn die Exception geworfen wird, wird der Programmfluss in den catch Block gegeben.
When the exception occurs, control transfers to the catch block.
Man kann einen catch Block einsetzen, um alle Exceptions, die im try Block generiert werden, zu verarbeiten.
You can use a catch block to handle all exceptions that may be generated in the try block.
Es ist möglich unterschiedliche Ausnahmen in einem try Block zu werfen und im dazugehörigen catch Block abzufangen.
You can use a catch block to handle all exceptions that may be generated in the try block.
Der catch Block spezifiziert einen Variable (catchID im voranstehenden Syntaxbeispiel), welcher den Wert des throw Statements enthält.
The catch block specifies an identifier (e in the example above) that holds the value specified by the throw statement.
Das Statement versucht den try Block erfolgreich abzuarbeiten und wenn dieser nicht erfolgreich ist, wird die Kontrolle an den catch Block gegeben.
That is, you want the try block to succeed, and if it does not succeed, you want to pass control to the catch block.
Wenn man beim Werfen von eigenen Exceptions die Vorteile dieser Eigenschaften nutzen möchte (wenn zum Beipsiel der catch Block nicht zwischen eigenen und System Exceptions unterscheidet), kann der Konstruktor von Error benutzt werden.
If you are throwing your own exceptions, in order to take advantage of these properties (such as if your catch block doesn't discriminate between your own exceptions and system ones), you can use the Error constructor.
Der catch Block spezifiziert einen Variable (catchID im voranstehenden Syntaxbeispiel), welcher den Wert des throw Statements enthält. Man kann über diese Variable Informationen über die geworfene Exception abfragen.
The catch block specifies an identifier (catchID in the preceding syntax) that holds the value specified by the throw statement; you can use this identifier to get information about the exception that was thrown.
Die Programmausführung der aktuellen Funktion bzw. des globalen Codes wird angehalten (Anweisungen nach throw werden dann nicht mehr ausgeführt), und die Programmausführung wird an den nächsthöheren catch Block in der Ausführungshierarchie übergeben.
throws a user-defined exception. Execution of the current function will stop (the statements after throw won't be executed), and control will be passed to the first catch block in the call stack.
Er zijn geen resultaten gevonden voor deze term.

Synoniemen voor catch Block in het Duits

Publiciteit

Resultaten: 20. Exact: 20. Verstreken tijd: 29 ms.