// AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from exception.djinni

#pragma once

#include "cpp_exception.hpp"
#include "djinni_support.hpp"

namespace djinni_generated {

class NativeCppException final : djinni::JniInterface<CppException, NativeCppException> {
public:
    using CppType = std::shared_ptr<CppException>;
    using JniType = jobject;

    static jobject toJava(JNIEnv* jniEnv, std::shared_ptr<CppException> c) { return djinni::JniClass<::djinni_generated::NativeCppException>::get()._toJava(jniEnv, c); }
    static std::shared_ptr<CppException> fromJava(JNIEnv* jniEnv, jobject j) { return djinni::JniClass<::djinni_generated::NativeCppException>::get()._fromJava(jniEnv, j); }


private:
    NativeCppException();
    friend class djinni::JniClass<::djinni_generated::NativeCppException>;
};

}  // namespace djinni_generated
