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

#include <qtjava/QtSupport.h>
#include <tdejava/TDESupport.h>
#include <tdejava/RangeException.h>

class RangeExceptionJBridge : public DOM::RangeException
{
public:
	RangeExceptionJBridge(unsigned short arg1) : DOM::RangeException(arg1) {};
	RangeExceptionJBridge(const DOM::RangeException& arg1) : DOM::RangeException(arg1) {};
};

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

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

