1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-05 02:39:23 +02:00

exception throwing (in progress)

This commit is contained in:
Nikolay Pultsin 2012-04-07 12:52:27 +01:00
parent 06660e99e2
commit 85f1714ddc
2 changed files with 12 additions and 3 deletions

View file

@ -61,6 +61,7 @@ public:
static JavaClass Class_ZLFile;
static JavaClass Class_ZLFileImage;
static JavaClass Class_ZLTextModel;
static JavaClass Class_CachedCharStorageException;
static JavaClass Class_NativeFormatPlugin;
static JavaClass Class_PluginCollection;
static JavaClass Class_Encoding;
@ -153,7 +154,8 @@ public:
static jintArray createJavaIntArray(JNIEnv *env, const std::vector<jint> &data);
static jbyteArray createJavaByteArray(JNIEnv *env, const std::vector<jbyte> &data);
static void throwRuntimeException(JNIEnv *env, const std::string &message);
static void throwRuntimeException(const std::string &message);
static void throwCachedCharStorageException(const std::string &message);
//static void throwBookReadingException(const std::string &resourceId, const ZLFile &file);
};