From 90825e2392b2d70e43c7a25b8a3752299a933894 Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdejava/koala/org/kde/koala/DOMException.java | 40 +++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 kdejava/koala/org/kde/koala/DOMException.java (limited to 'kdejava/koala/org/kde/koala/DOMException.java') diff --git a/kdejava/koala/org/kde/koala/DOMException.java b/kdejava/koala/org/kde/koala/DOMException.java new file mode 100644 index 00000000..d51309cc --- /dev/null +++ b/kdejava/koala/org/kde/koala/DOMException.java @@ -0,0 +1,40 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.koala; + +import org.kde.qt.Qt; +import org.kde.qt.QtSupport; + +/** + + DOM operations only raise exceptions in "exceptional" + circumstances, i.e., when an operation is impossible to perform + (either for logical reasons, because data is lost, or because the + implementation has become unstable). In general, DOM methods return + specific error values in ordinary processing situation, such as + out-of-bound errors when using ArrayList . + Implementations may raise other exceptions under other + circumstances. For example, implementations may raise an + implementation-dependent exception if a null + argument is passed. + Some languages and object systems do not support the concept of + exceptions. For such systems, error conditions may be indicated + using native error reporting mechanisms. For some bindings, for + example, methods may return error codes similar to those listed in + the corresponding method descriptions. + @short DOM operations only raise exceptions in "exceptional" circumstances, i. + +*/ +public class DOMException implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected DOMException(Class dummy){} + + public DOMException(short _code) { + newDOMException(_code); + } + private native void newDOMException(short _code); + public DOMException(DOMException other) { + newDOMException(other); + } + private native void newDOMException(DOMException other); +} -- cgit v1.2.3