//Auto-generated by kalyptus. DO NOT EDIT.
#include <dom/dom_exception.h>

#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/DOMException.h>

class DOMExceptionJBridge : public DOM::DOMException
{
public:
	DOMExceptionJBridge(unsigned short arg1) : DOM::DOMException(arg1) {};
	DOMExceptionJBridge(const DOM::DOMException& arg1) : DOM::DOMException(arg1) {};
};

JNIEXPORT void JNICALL
Java_org_kde_koala_DOMException_newDOMException__Lorg_kde_koala_DOMException_2(JNIEnv* env, jobject obj, jobject other)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new DOMExceptionJBridge((const DOM::DOMException&)*(const DOM::DOMException*) QtSupport::getQt(env, other)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_DOMException_newDOMException__S(JNIEnv* env, jobject obj, jshort _code)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new DOMExceptionJBridge((unsigned short) _code));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

