You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.5 KiB
41 lines
1.5 KiB
15 years ago
|
//Auto-generated by kalyptus. DO NOT EDIT.
|
||
11 years ago
|
package org.trinitydesktop.koala;
|
||
15 years ago
|
|
||
11 years ago
|
import org.trinitydesktop.qt.Qt;
|
||
|
import org.trinitydesktop.qt.QtSupport;
|
||
15 years ago
|
|
||
|
/**
|
||
|
|
||
|
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);
|
||
|
}
|