blob: 79d5ba178960328e947a964652600bdda4d87ef5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include "com_libmailcore_MailException.h"
#include "MCBaseTypes.h"
#include "MCErrorMessage.h"
#include "TypesUtils.h"
using namespace mailcore;
JNIEXPORT jstring JNICALL Java_com_libmailcore_MailException_messageForErrorCode
(JNIEnv * env, jclass cls, jint errorCode)
{
return (jstring) MC_TO_JAVA(mailcore::errorMessageWithErrorCode((ErrorCode) errorCode));
}
|