theKernel 10.0
Loading...
Searching...
No Matches
MkErrorC_Misc_JV_API

MkErrorC - various functions to 'work' on a MkErrorSMore...

+ Collaboration diagram for MkErrorC_Misc_JV_API:

Functions

native MkErrorC jvmkkernel.MkErrorC.Catch (Throwable exception, String callfunc)
  Java: MkErrorC err.Catch(?Throwable exception = null?, ?String callfunc = null?) C-API
convert a programming-language-error into an jvmkkernel error …
 
MkErrorC jvmkkernel.MkErrorC.Catch ()
  Java: MkErrorC err.Catch(?Throwable exception = null?, ?String callfunc = null?) C-API
convert a programming-language-error into an jvmkkernel error …
 
MkErrorC jvmkkernel.MkErrorC.Catch (Throwable exception)
  Java: MkErrorC err.Catch(?Throwable exception = null?, ?String callfunc = null?) C-API
convert a programming-language-error into an jvmkkernel error …
 
native void jvmkkernel.MkErrorC.Cleanup (String callfunc, int callline)
  Java: err.Cleanup(?String callfunc = null?, ?int callline = -1?) C-API
cleanup and print unwanted active error …
 
void jvmkkernel.MkErrorC.Cleanup ()
  Java: err.Cleanup(?String callfunc = null?, ?int callline = -1?) C-API
cleanup and print unwanted active error …
 
void jvmkkernel.MkErrorC.Cleanup (String callfunc)
  Java: err.Cleanup(?String callfunc = null?, ?int callline = -1?) C-API
cleanup and print unwanted active error …
 
void jvmkkernel.MkErrorC.Log ()
  Java: err.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the error to MkLogFileC (default: stderr) …
 
void jvmkkernel.MkErrorC.Log (MkObjectC fmtobj)
  Java: err.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the error to MkLogFileC (default: stderr) …
 
void jvmkkernel.MkErrorC.Log (MkObjectC fmtobj, int debug)
  Java: err.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the error to MkLogFileC (default: stderr) …
 
void jvmkkernel.MkErrorC.Log (MkObjectC fmtobj, int debug, String callfunc)
  Java: err.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the error to MkLogFileC (default: stderr) …
 
native void jvmkkernel.MkErrorC.Println (String msg, String callfunc, int callline)
  Java: err.Println(?String msg = ""?, ?String callfunc = null?, ?int callline = -1?) C-API
print the default-error to the MkLogFileC (default: stderr) and clear the error afterwards …
 
void jvmkkernel.MkErrorC.Println ()
  Java: err.Println(?String msg = ""?, ?String callfunc = null?, ?int callline = -1?) C-API
print the default-error to the MkLogFileC (default: stderr) and clear the error afterwards …
 
void jvmkkernel.MkErrorC.Println (String msg)
  Java: err.Println(?String msg = ""?, ?String callfunc = null?, ?int callline = -1?) C-API
print the default-error to the MkLogFileC (default: stderr) and clear the error afterwards …
 
void jvmkkernel.MkErrorC.Println (String msg, String callfunc)
  Java: err.Println(?String msg = ""?, ?String callfunc = null?, ?int callline = -1?) C-API
print the default-error to the MkLogFileC (default: stderr) and clear the error afterwards …
 
native void jvmkkernel.MkErrorC.Reset (String callfunc, int callline, boolean force)
  Java: err.Reset(?String callfunc = null?, ?int callline = -1?, ?boolean force = false?) C-API
This function clears the err and resets to MK_OK
 
void jvmkkernel.MkErrorC.Reset ()
  Java: err.Reset(?String callfunc = null?, ?int callline = -1?, ?boolean force = false?) C-API
This function clears the err and resets to MK_OK
 
void jvmkkernel.MkErrorC.Reset (String callfunc)
  Java: err.Reset(?String callfunc = null?, ?int callline = -1?, ?boolean force = false?) C-API
This function clears the err and resets to MK_OK
 
void jvmkkernel.MkErrorC.Reset (String callfunc, int callline)
  Java: err.Reset(?String callfunc = null?, ?int callline = -1?, ?boolean force = false?) C-API
This function clears the err and resets to MK_OK
 
native MkErrorE jvmkkernel.MkErrorC.Stack (String callfunc, String callfile, int callline)
  Java: MkErrorE err.Stack(?String callfunc = null?, ?String callfile = null?, ?int callline = -1?) C-API
check on error and if yes append an ErrorStackFormat to the error-message
 
native void jvmkkernel.MkErrorC.StackFormat (String callfunc, String callfile, int callline)
  Java: err.StackFormat(?String callfunc = null?, ?String callfile = null?, ?int callline = -1?) C-API
append an ensemble of func, file and line to the error-message
 
void jvmkkernel.MkErrorC.StackFormat ()
  Java: err.StackFormat(?String callfunc = null?, ?String callfile = null?, ?int callline = -1?) C-API
append an ensemble of func, file and line to the error-message
 
void jvmkkernel.MkErrorC.StackFormat (String callfunc)
  Java: err.StackFormat(?String callfunc = null?, ?String callfile = null?, ?int callline = -1?) C-API
append an ensemble of func, file and line to the error-message
 
void jvmkkernel.MkErrorC.StackFormat (String callfunc, String callfile)
  Java: err.StackFormat(?String callfunc = null?, ?String callfile = null?, ?int callline = -1?) C-API
append an ensemble of func, file and line to the error-message
 
MkErrorE jvmkkernel.MkErrorC.Stack ()
  Java: MkErrorE err.Stack(?String callfunc = null?, ?String callfile = null?, ?int callline = -1?) C-API
check on error and if yes append an ErrorStackFormat to the error-message
 
MkErrorE jvmkkernel.MkErrorC.Stack (String callfunc)
  Java: MkErrorE err.Stack(?String callfunc = null?, ?String callfile = null?, ?int callline = -1?) C-API
check on error and if yes append an ErrorStackFormat to the error-message
 
MkErrorE jvmkkernel.MkErrorC.Stack (String callfunc, String callfile)
  Java: MkErrorE err.Stack(?String callfunc = null?, ?String callfile = null?, ?int callline = -1?) C-API
check on error and if yes append an ErrorStackFormat to the error-message
 
JNIEXPORT jobject JNICALL Java_jvmkkernel_MkErrorC_Catch (JNIEnv *env, jobject self, jthrowable exception, jstring callfunc)
  Java: MkErrorC err.Catch(?Throwable exception = null?, ?String callfunc = null?) C-API
convert a programming-language-error into an jvmkkernel error …
 
JNIEXPORT void JNICALL Java_jvmkkernel_MkErrorC_Cleanup (JNIEnv *env, jobject self, jstring callfunc, jint callline)
  Java: err.Cleanup(?String callfunc = null?, ?int callline = -1?) C-API
cleanup and print unwanted active error …
 
JNIEXPORT void JNICALL Java_jvmkkernel_MkErrorC_Println (JNIEnv *env, jobject self, jstring msg, jstring callfunc, jint callline)
  Java: err.Println(?String msg = ""?, ?String callfunc = null?, ?int callline = -1?) C-API
print the default-error to the MkLogFileC (default: stderr) and clear the error afterwards …
 
JNIEXPORT void JNICALL Java_jvmkkernel_MkErrorC_Reset (JNIEnv *env, jobject self, jstring callfunc, jint callline, jboolean force)
  Java: err.Reset(?String callfunc = null?, ?int callline = -1?, ?boolean force = false?) C-API
This function clears the err and resets to MK_OK
 
JNIEXPORT jobject JNICALL Java_jvmkkernel_MkErrorC_Stack (JNIEnv *env, jobject self, jstring callfunc, jstring callfile, jint callline)
  Java: MkErrorE err.Stack(?String callfunc = null?, ?String callfile = null?, ?int callline = -1?) C-API
check on error and if yes append an ErrorStackFormat to the error-message
 
JNIEXPORT void JNICALL Java_jvmkkernel_MkErrorC_StackFormat (JNIEnv *env, jobject self, jstring callfunc, jstring callfile, jint callline)
  Java: err.StackFormat(?String callfunc = null?, ?String callfile = null?, ?int callline = -1?) C-API
append an ensemble of func, file and line to the error-message
 

Detailed Description

MkErrorC - various functions to 'work' on a MkErrorS

Function Documentation

◆ Catch() [1/3]

MkErrorC jvmkkernel.MkErrorC.Catch ( )

Java: MkErrorC err.Catch(?Throwable exception = null?, ?String callfunc = null?) C-API
convert a programming-language-error into an jvmkkernel error …

Definition at line 115 of file MkErrorC.java.

115 {
116 return Catch (null, null);
117 }
MkErrorC Catch()
Java: MkErrorC err.Catch(?Throwable exception = null?, ?String callfunc = null?) → C-API conver...
+ Here is the caller graph for this function:

◆ Catch() [2/3]

MkErrorC jvmkkernel.MkErrorC.Catch ( Throwable exception)

Java: MkErrorC err.Catch(?Throwable exception = null?, ?String callfunc = null?) C-API
convert a programming-language-error into an jvmkkernel error …

Definition at line 120 of file MkErrorC.java.

120 {
121 return Catch (exception, null);
122 }

◆ Catch() [3/3]

native MkErrorC jvmkkernel.MkErrorC.Catch ( Throwable exception,
String callfunc )

Java: MkErrorC err.Catch(?Throwable exception = null?, ?String callfunc = null?) C-API
convert a programming-language-error into an jvmkkernel error …

◆ Cleanup() [1/3]

void jvmkkernel.MkErrorC.Cleanup ( )

Java: err.Cleanup(?String callfunc = null?, ?int callline = -1?) C-API
cleanup and print unwanted active error …

Definition at line 130 of file MkErrorC.java.

130 {
131 Cleanup (null, -1);
132 }
void Cleanup()
Java: err.Cleanup(?String callfunc = null?, ?int callline = -1?) → C-API cleanup and print unwa...
+ Here is the caller graph for this function:

◆ Cleanup() [2/3]

void jvmkkernel.MkErrorC.Cleanup ( String callfunc)

Java: err.Cleanup(?String callfunc = null?, ?int callline = -1?) C-API
cleanup and print unwanted active error …

Definition at line 135 of file MkErrorC.java.

135 {
136 Cleanup (callfunc, -1);
137 }

◆ Cleanup() [3/3]

native void jvmkkernel.MkErrorC.Cleanup ( String callfunc,
int callline )

Java: err.Cleanup(?String callfunc = null?, ?int callline = -1?) C-API
cleanup and print unwanted active error …

◆ Java_jvmkkernel_MkErrorC_Catch()

JNIEXPORT jobject JNICALL Java_jvmkkernel_MkErrorC_Catch ( JNIEnv * env,
jobject self,
jthrowable exception,
jstring callfunc )

Java: MkErrorC err.Catch(?Throwable exception = null?, ?String callfunc = null?) C-API
convert a programming-language-error into an jvmkkernel error …

Definition at line 186 of file MkErrorC_jv.c.

186 {
187 MK_ERR hdl = (MK_ERR)pObj2Hdl(env,"MkErrorC",self);
188 JavaErrorCheck;
189 MkRtSetup_X(hdl);
190 if (callfunc == NULL) {
191 (*env)->CallStaticVoidMethod(env,MK(Class_MkKernel),MK(MID_MkKernel_getCallerStack));
192 }
193 if (callfunc == NULL) {callfunc = MK(pGetCallerProc)(env);}
194 MK_STRN callfunc_ptr = (callfunc?(*env)->GetStringUTFChars(env,callfunc,NULL):NULL);
195 JavaErrorCheck;
196 MK_ERR __retVal__L = MkErrorCatchTmpl(hdl, exception, callfunc_ptr);
197 jobject __retVal__S = MK(MkErrorC_ObjNew)(MK_RT_CALL env,__retVal__L);
198 if (callfunc_ptr) (*env)->ReleaseStringUTFChars(env,callfunc,callfunc_ptr);
199 return __retVal__S;
200error:
201 return 0;
202}
#define MkErrorCatchTmpl(...)
Definition MkErrorC_jv.c:37
struct MkErrorS * MK_ERR
class-shortcut for struct MkErrorS *, all shortcut using the XX_YYY syntax (only for public API) …
const MK_STRB * MK_STRN
constant string pointer data-type
#define MK_RT_CALL
#define MkRtSetup_X(x)
The data-type to store and handle the error-condition …

◆ Java_jvmkkernel_MkErrorC_Cleanup()

JNIEXPORT void JNICALL Java_jvmkkernel_MkErrorC_Cleanup ( JNIEnv * env,
jobject self,
jstring callfunc,
jint callline )

Java: err.Cleanup(?String callfunc = null?, ?int callline = -1?) C-API
cleanup and print unwanted active error …

Definition at line 207 of file MkErrorC_jv.c.

207 {
208 MK_ERR hdl = (MK_ERR)pObj2Hdl(env,"MkErrorC",self);
209 JavaErrorCheck;
210 MkRtSetup_X(hdl);
211 if (callline == -1 && callfunc == NULL) {
212 (*env)->CallStaticVoidMethod(env,MK(Class_MkKernel),MK(MID_MkKernel_getCallerStack));
213 }
214 if (callline == -1) {callline = MK(pGetCallerLine)(env);}
215 if (callfunc == NULL) {callfunc = MK(pGetCallerProc)(env);}
216 MK_STRN callfunc_ptr = (callfunc?(*env)->GetStringUTFChars(env,callfunc,NULL):NULL);
217 JavaErrorCheck;
218 MkErrorCleanup(hdl, callfunc_ptr, callline);
219 if (callfunc_ptr) (*env)->ReleaseStringUTFChars(env,callfunc,callfunc_ptr);
220error:
221 return;
222}
#define MkErrorCleanup(...)

◆ Java_jvmkkernel_MkErrorC_Println()

JNIEXPORT void JNICALL Java_jvmkkernel_MkErrorC_Println ( JNIEnv * env,
jobject self,
jstring msg,
jstring callfunc,
jint callline )

Java: err.Println(?String msg = ""?, ?String callfunc = null?, ?int callline = -1?) C-API
print the default-error to the MkLogFileC (default: stderr) and clear the error afterwards …

Definition at line 227 of file MkErrorC_jv.c.

227 {
228 MK_ERR hdl = (MK_ERR)pObj2Hdl(env,"MkErrorC",self);
229 JavaErrorCheck;
230 MkRtSetup_X(hdl);
231 if (callline == -1 && callfunc == NULL) {
232 (*env)->CallStaticVoidMethod(env,MK(Class_MkKernel),MK(MID_MkKernel_getCallerStack));
233 }
234 if (callline == -1) {callline = MK(pGetCallerLine)(env);}
235 if (callfunc == NULL) {callfunc = MK(pGetCallerProc)(env);}
236 MK_STRN msg_ptr = (msg?(*env)->GetStringUTFChars(env,msg,NULL):NULL);
237 JavaErrorCheck;
238 MK_STRN callfunc_ptr = (callfunc?(*env)->GetStringUTFChars(env,callfunc,NULL):NULL);
239 JavaErrorCheck;
240 MkErrorPrintln(hdl, msg_ptr, callfunc_ptr, callline);
241 if (msg_ptr) (*env)->ReleaseStringUTFChars(env,msg,msg_ptr);
242 if (callfunc_ptr) (*env)->ReleaseStringUTFChars(env,callfunc,callfunc_ptr);
243error:
244 return;
245}
#define MkErrorPrintln(...)

◆ Java_jvmkkernel_MkErrorC_Reset()

JNIEXPORT void JNICALL Java_jvmkkernel_MkErrorC_Reset ( JNIEnv * env,
jobject self,
jstring callfunc,
jint callline,
jboolean force )

Java: err.Reset(?String callfunc = null?, ?int callline = -1?, ?boolean force = false?) C-API
This function clears the err and resets to MK_OK

Definition at line 248 of file MkErrorC_jv.c.

248 {
249 MK_ERR hdl = (MK_ERR)pObj2Hdl(env,"MkErrorC",self);
250 JavaErrorCheck;
251 MkRtSetup_X(hdl);
252 if (callline == -1 && callfunc == NULL) {
253 (*env)->CallStaticVoidMethod(env,MK(Class_MkKernel),MK(MID_MkKernel_getCallerStack));
254 }
255 if (callline == -1) {callline = MK(pGetCallerLine)(env);}
256 if (callfunc == NULL) {callfunc = MK(pGetCallerProc)(env);}
257 MK_STRN callfunc_ptr = (callfunc?(*env)->GetStringUTFChars(env,callfunc,NULL):NULL);
258 JavaErrorCheck;
259 enum MkErrorE errVal = MkErrorReset(hdl, callfunc_ptr, callline, force);
260 MkErrorC_Check(hdl, errVal)
261 if (callfunc_ptr) (*env)->ReleaseStringUTFChars(env,callfunc,callfunc_ptr);
262error:
263 return;
264}
#define MkErrorReset(...)
MkErrorE
collection for the different error-codes …

◆ Java_jvmkkernel_MkErrorC_Stack()

JNIEXPORT jobject JNICALL Java_jvmkkernel_MkErrorC_Stack ( JNIEnv * env,
jobject self,
jstring callfunc,
jstring callfile,
jint callline )

Java: MkErrorE err.Stack(?String callfunc = null?, ?String callfile = null?, ?int callline = -1?) C-API
check on error and if yes append an ErrorStackFormat to the error-message

Definition at line 267 of file MkErrorC_jv.c.

267 {
268 MK_ERR hdl = (MK_ERR)pObj2Hdl__null_allow(env,self);
269 JavaErrorCheck;
270 MkRtSetup_X(hdl);
271 if (callline == -1 && callfile == NULL && callfunc == NULL) {
272 (*env)->CallStaticVoidMethod(env,MK(Class_MkKernel),MK(MID_MkKernel_getCallerStack));
273 }
274 if (callline == -1) {callline = MK(pGetCallerLine)(env);}
275 if (callfile == NULL) {callfile = MK(pGetCallerFile)(env);}
276 if (callfunc == NULL) {callfunc = MK(pGetCallerProc)(env);}
277 MK_STRN callfunc_ptr = (callfunc?(*env)->GetStringUTFChars(env,callfunc,NULL):NULL);
278 JavaErrorCheck;
279 MK_STRN callfile_ptr = (callfile?(*env)->GetStringUTFChars(env,callfile,NULL):NULL);
280 JavaErrorCheck;
281 enum MkErrorE errVal = MkErrorStack(hdl, callfunc_ptr, callfile_ptr, callline);
282 jobject __retVal__S = MK(pGetEnumFromString)(env,MK(Class_MkErrorE),"Ljvmkkernel/MkErrorE;",MkErrorE_ToString(errVal));
283 if (callfunc_ptr) (*env)->ReleaseStringUTFChars(env,callfunc,callfunc_ptr);
284 if (callfile_ptr) (*env)->ReleaseStringUTFChars(env,callfile,callfile_ptr);
285 return __retVal__S;
286error:
287 return 0;
288}
#define MkErrorStack(...)
MK_STRN MkErrorE_ToString(enum MkErrorE value)
return the MkErrorE as string …

◆ Java_jvmkkernel_MkErrorC_StackFormat()

JNIEXPORT void JNICALL Java_jvmkkernel_MkErrorC_StackFormat ( JNIEnv * env,
jobject self,
jstring callfunc,
jstring callfile,
jint callline )

Java: err.StackFormat(?String callfunc = null?, ?String callfile = null?, ?int callline = -1?) C-API
append an ensemble of func, file and line to the error-message

Definition at line 291 of file MkErrorC_jv.c.

291 {
292 MK_ERR hdl = (MK_ERR)pObj2Hdl(env,"MkErrorC",self);
293 JavaErrorCheck;
294 MkRtSetup_X(hdl);
295 if (callline == -1 && callfile == NULL && callfunc == NULL) {
296 (*env)->CallStaticVoidMethod(env,MK(Class_MkKernel),MK(MID_MkKernel_getCallerStack));
297 }
298 if (callline == -1) {callline = MK(pGetCallerLine)(env);}
299 if (callfile == NULL) {callfile = MK(pGetCallerFile)(env);}
300 if (callfunc == NULL) {callfunc = MK(pGetCallerProc)(env);}
301 MK_STRN callfunc_ptr = (callfunc?(*env)->GetStringUTFChars(env,callfunc,NULL):NULL);
302 JavaErrorCheck;
303 MK_STRN callfile_ptr = (callfile?(*env)->GetStringUTFChars(env,callfile,NULL):NULL);
304 JavaErrorCheck;
305 MkErrorStackFormat(hdl, callfunc_ptr, callfile_ptr, callline);
306 if (callfunc_ptr) (*env)->ReleaseStringUTFChars(env,callfunc,callfunc_ptr);
307 if (callfile_ptr) (*env)->ReleaseStringUTFChars(env,callfile,callfile_ptr);
308error:
309 return;
310}
#define MkErrorStackFormat(...)

◆ Log() [1/4]

void jvmkkernel.MkErrorC.Log ( )

Java: err.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the error to MkLogFileC (default: stderr) …

Reimplemented from jvmkkernel.MkObjectC.

Definition at line 142 of file MkErrorC.java.

142 {
143 Log ((MkObjectC) null, 0, null, 0);
144 }
MkObjectC(long mng, boolean dummy)
This contructor is used internal to create an java-object for an already existing libmqmsgque-object.
void Log()
Java: err.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
+ Here is the caller graph for this function:

◆ Log() [2/4]

void jvmkkernel.MkErrorC.Log ( MkObjectC fmtobj)

Java: err.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the error to MkLogFileC (default: stderr) …

Reimplemented from jvmkkernel.MkObjectC.

Definition at line 147 of file MkErrorC.java.

147 {
148 Log (fmtobj, 0, null, 0);
149 }

◆ Log() [3/4]

void jvmkkernel.MkErrorC.Log ( MkObjectC fmtobj,
int debug )

Java: err.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the error to MkLogFileC (default: stderr) …

Reimplemented from jvmkkernel.MkObjectC.

Definition at line 152 of file MkErrorC.java.

152 {
153 Log (fmtobj, debug, null, 0);
154 }

◆ Log() [4/4]

void jvmkkernel.MkErrorC.Log ( MkObjectC fmtobj,
int debug,
String callfunc )

Java: err.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the error to MkLogFileC (default: stderr) …

Reimplemented from jvmkkernel.MkObjectC.

Definition at line 157 of file MkErrorC.java.

157 {
158 Log (fmtobj, debug, callfunc, 0);
159 }

◆ Println() [1/4]

void jvmkkernel.MkErrorC.Println ( )

Java: err.Println(?String msg = ""?, ?String callfunc = null?, ?int callline = -1?) C-API
print the default-error to the MkLogFileC (default: stderr) and clear the error afterwards …

Definition at line 165 of file MkErrorC.java.

165 {
166 Println ("", null, -1);
167 }
void Println()
Java: err.Println(?String msg = ""?, ?String callfunc = null?, ?int callline = -1?...
+ Here is the caller graph for this function:

◆ Println() [2/4]

void jvmkkernel.MkErrorC.Println ( String msg)

Java: err.Println(?String msg = ""?, ?String callfunc = null?, ?int callline = -1?) C-API
print the default-error to the MkLogFileC (default: stderr) and clear the error afterwards …

Definition at line 170 of file MkErrorC.java.

170 {
171 Println (msg, null, -1);
172 }

◆ Println() [3/4]

void jvmkkernel.MkErrorC.Println ( String msg,
String callfunc )

Java: err.Println(?String msg = ""?, ?String callfunc = null?, ?int callline = -1?) C-API
print the default-error to the MkLogFileC (default: stderr) and clear the error afterwards …

Definition at line 175 of file MkErrorC.java.

175 {
176 Println (msg, callfunc, -1);
177 }

◆ Println() [4/4]

native void jvmkkernel.MkErrorC.Println ( String msg,
String callfunc,
int callline )

Java: err.Println(?String msg = ""?, ?String callfunc = null?, ?int callline = -1?) C-API
print the default-error to the MkLogFileC (default: stderr) and clear the error afterwards …

◆ Reset() [1/4]

void jvmkkernel.MkErrorC.Reset ( )

Java: err.Reset(?String callfunc = null?, ?int callline = -1?, ?boolean force = false?) C-API
This function clears the err and resets to MK_OK

Definition at line 183 of file MkErrorC.java.

183 {
184 Reset (null, -1, false);
185 }
void Reset()
Java: err.Reset(?String callfunc = null?, ?int callline = -1?, ?boolean force = false?...
+ Here is the caller graph for this function:

◆ Reset() [2/4]

void jvmkkernel.MkErrorC.Reset ( String callfunc)

Java: err.Reset(?String callfunc = null?, ?int callline = -1?, ?boolean force = false?) C-API
This function clears the err and resets to MK_OK

Definition at line 188 of file MkErrorC.java.

188 {
189 Reset (callfunc, -1, false);
190 }

◆ Reset() [3/4]

void jvmkkernel.MkErrorC.Reset ( String callfunc,
int callline )

Java: err.Reset(?String callfunc = null?, ?int callline = -1?, ?boolean force = false?) C-API
This function clears the err and resets to MK_OK

Definition at line 193 of file MkErrorC.java.

193 {
194 Reset (callfunc, callline, false);
195 }

◆ Reset() [4/4]

native void jvmkkernel.MkErrorC.Reset ( String callfunc,
int callline,
boolean force )

◆ Stack() [1/4]

MkErrorE jvmkkernel.MkErrorC.Stack ( )

Java: MkErrorE err.Stack(?String callfunc = null?, ?String callfile = null?, ?int callline = -1?) C-API
check on error and if yes append an ErrorStackFormat to the error-message

Definition at line 219 of file MkErrorC.java.

219 {
220 return Stack (null, null, -1);
221 }
MkErrorE Stack()
Java: MkErrorE err.Stack(?String callfunc = null?, ?String callfile = null?, ?int callline = -1?...
+ Here is the caller graph for this function:

◆ Stack() [2/4]

MkErrorE jvmkkernel.MkErrorC.Stack ( String callfunc)

Java: MkErrorE err.Stack(?String callfunc = null?, ?String callfile = null?, ?int callline = -1?) C-API
check on error and if yes append an ErrorStackFormat to the error-message

Definition at line 224 of file MkErrorC.java.

224 {
225 return Stack (callfunc, null, -1);
226 }

◆ Stack() [3/4]

MkErrorE jvmkkernel.MkErrorC.Stack ( String callfunc,
String callfile )

Java: MkErrorE err.Stack(?String callfunc = null?, ?String callfile = null?, ?int callline = -1?) C-API
check on error and if yes append an ErrorStackFormat to the error-message

Definition at line 229 of file MkErrorC.java.

229 {
230 return Stack (callfunc, callfile, -1);
231 }

◆ Stack() [4/4]

native MkErrorE jvmkkernel.MkErrorC.Stack ( String callfunc,
String callfile,
int callline )

◆ StackFormat() [1/4]

void jvmkkernel.MkErrorC.StackFormat ( )

Java: err.StackFormat(?String callfunc = null?, ?String callfile = null?, ?int callline = -1?) C-API
append an ensemble of func, file and line to the error-message

Definition at line 204 of file MkErrorC.java.

204 {
205 StackFormat (null, null, -1);
206 }
void StackFormat()
Java: err.StackFormat(?String callfunc = null?, ?String callfile = null?, ?int callline = -1?...
+ Here is the caller graph for this function:

◆ StackFormat() [2/4]

void jvmkkernel.MkErrorC.StackFormat ( String callfunc)

Java: err.StackFormat(?String callfunc = null?, ?String callfile = null?, ?int callline = -1?) C-API
append an ensemble of func, file and line to the error-message

Definition at line 209 of file MkErrorC.java.

209 {
210 StackFormat (callfunc, null, -1);
211 }

◆ StackFormat() [3/4]

void jvmkkernel.MkErrorC.StackFormat ( String callfunc,
String callfile )

Java: err.StackFormat(?String callfunc = null?, ?String callfile = null?, ?int callline = -1?) C-API
append an ensemble of func, file and line to the error-message

Definition at line 214 of file MkErrorC.java.

214 {
215 StackFormat (callfunc, callfile, -1);
216 }

◆ StackFormat() [4/4]

native void jvmkkernel.MkErrorC.StackFormat ( String callfunc,
String callfile,
int callline )

Java: err.StackFormat(?String callfunc = null?, ?String callfile = null?, ?int callline = -1?) C-API
append an ensemble of func, file and line to the error-message