Source code

Copy as Markdown

Other Tools

// GENERATED CODE
// Generated by the Java program at /build/annotationProcessors at compile time
// from annotations on Java methods. To update, change the annotations on the
// corresponding Javamethods and rerun the build. Manually updating this file
// will cause your build to fail.
#ifndef JavaExceptions_h__
#define JavaExceptions_h__
#include "mozilla/jni/Refs.h"
namespace mozilla {
namespace java {
namespace sdk {
class IllegalArgumentException : public mozilla::jni::ObjectBase<IllegalArgumentException>
{
public:
static constexpr char name[] =
"java/lang/IllegalArgumentException";
explicit IllegalArgumentException(const Context& ctx) : ObjectBase<IllegalArgumentException>(ctx) {}
struct New_t {
typedef IllegalArgumentException Owner;
typedef IllegalArgumentException::LocalRef ReturnType;
typedef IllegalArgumentException::Param SetterType;
typedef mozilla::jni::Args<
mozilla::jni::String::Param> Args;
static constexpr char name[] = "<init>";
static constexpr char signature[] =
"(Ljava/lang/String;)V";
static const bool isStatic = false;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// IllegalArgumentException(String)
static auto New(mozilla::jni::String::Param) -> IllegalArgumentException::LocalRef;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
};
class IllegalStateException : public mozilla::jni::ObjectBase<IllegalStateException>
{
public:
static constexpr char name[] =
"java/lang/IllegalStateException";
explicit IllegalStateException(const Context& ctx) : ObjectBase<IllegalStateException>(ctx) {}
struct New_t {
typedef IllegalStateException Owner;
typedef IllegalStateException::LocalRef ReturnType;
typedef IllegalStateException::Param SetterType;
typedef mozilla::jni::Args<
mozilla::jni::String::Param> Args;
static constexpr char name[] = "<init>";
static constexpr char signature[] =
"(Ljava/lang/String;)V";
static const bool isStatic = false;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// IllegalStateException(String)
static auto New(mozilla::jni::String::Param) -> IllegalStateException::LocalRef;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
};
class Throwable : public mozilla::jni::ObjectBase<Throwable>
{
public:
static constexpr char name[] =
"java/lang/Throwable";
explicit Throwable(const Context& ctx) : ObjectBase<Throwable>(ctx) {}
struct GetMessage_t {
typedef Throwable Owner;
typedef mozilla::jni::String::LocalRef ReturnType;
typedef mozilla::jni::String::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "getMessage";
static constexpr char signature[] =
"()Ljava/lang/String;";
static const bool isStatic = false;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// String getMessage()
auto GetMessage() const -> mozilla::jni::String::LocalRef;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
};
} /* sdk */
} /* java */
} /* mozilla */
#endif