summaryrefslogtreecommitdiff
path: root/platform/android/src/java/lang/throwable.hpp
blob: e27c841baef41a020fef334d27652488a26fff7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#pragma once

#include <jni/jni.hpp>

namespace mbgl {
namespace android {
namespace java {
namespace lang {

class Throwable {
public:
    static constexpr auto Name() {
        return "java/lang/Throwable";
    }

    static jni::String GetMessage(jni::JNIEnv&, jni::Object<Throwable>);

private:
    static jni::Class<Throwable> Class(jni::JNIEnv&);
};

} // namespace lang
} // namespace java
} // namespace android
} // namespace mbgl