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

#include <qtjava/QtSupport.h>
#include <tdejava/TDESupport.h>
#include <tdejava/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_trinitydesktop_koala_DOMException_newDOMException__Lorg_trinitydesktop_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_trinitydesktop_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;
}

