The QAnywhere C++, Java, and.NET APIs include special objects and properties for exception handling.
Die QAnywhere C++-, Java- und.NET-APIs enthalten spezielle Objekte und Eigenschaften für die Verarbeitung von Ausnahmefehlern.
To get the current exception object, you must call GetException on the Java object before other methods are invoked on it.
Sie erhalten das aktuelle Ausnahmeobjekt, indem Sie getException auf das Java-Objekt anwenden, bevor eventuell andere Methoden des Objekts aufgerufen werden.
Programs, and Java applications are no exception, usually consist of a multitude of methods, objects, functions, annotations, and so on.
Programme, und da machen auch Java-Anwendungen keine Ausnahme, bestehen in der Regel aus einer Vielzahl an Methoden, Objekten, Funktionen, Annotationen und so weiter.
Looping over a COM collection object using a COM object that has com2Java-generated Java stubs could cause a method selection exception.
The displayed information includes the exception message; the except.Message variable is the equivalent of calling the Java getMessage method on the returned Java exception object.
Die angezeigten Informationen enthalten die Ausnahmemeldung, und die Variable except.Message entspricht dem Aufrufen der Java-Methode getMessage im zurückgegebenen Java-Ausnahmeobjekt.
However, you can use Java class names to catch exceptions in non-CFML Java objects; for example, the following line catches all Java input/output exceptions
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.