diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 90825e2392b2d70e43c7a25b8a3752299a933894 (patch) | |
tree | e33aa27f02b74604afbfd0ea4f1cfca8833d882a /kdejava/koala/org/kde/koala/DOMException.java | |
download | tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.tar.gz tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.zip |
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
Diffstat (limited to 'kdejava/koala/org/kde/koala/DOMException.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/DOMException.java | 40 |
1 files changed, 40 insertions, 0 deletions
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 <code>ArrayList</code> . + Implementations may raise other exceptions under other + circumstances. For example, implementations may raise an + implementation-dependent exception if a <code>null</code> + 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); +} |