theKernel 10.0
Loading...
Searching...
No Matches
MkErrorC.java
Go to the documentation of this file.
1
9/* LABEL-INIT */
10package jvmkkernel;
11
12/* LABEL-START */
13
18public class MkErrorC extends MkObjectC {
19
20 static {
22 }
23
24 private MkErrorC (long mng, boolean dummy) {
25 super(mng,dummy);
26 }
27
28/* LABEL-END */
29
30 // INTERNAL
31
32 // PUBLIC
33
34 // BEGIN-MkErrorC - created by 'jv_MqS.tcl -i NHI1_HOME/theKernel/c/gen/c_mkkernel.meta' - DO NOT change
35
39
40 // doc-key: MkErrorC,MkErrorC-Class-Export,sc_
41
43 public native static MkErrorC HandleResolve (int netHdl);
44
45 // doc-key: MkErrorC,MkErrorC-Class-Export,om_
46
47 // skip class-overload: public native int HandleGet ()
48
50 // MkErrorC_Class_JV_API
51
55
56 // doc-key: MkErrorC,MkErrorC-Class-Introspection,oc_
57
59 public native MkErrorC Next ();
60
62 public native MkErrorC Prev ();
63
64 // doc-key: MkErrorC,MkErrorC-Class-Introspection,sc_
65
67 public native static MkErrorC Instances ();
68
70 // MkErrorC_Class_JV_API
71
75
76 // doc-key: MkErrorC,MkErrorC-Class-Misc,sc_
77
79 public native static MkErrorC GetNull ();
80
82 // MkErrorC_Class_JV_API
83
87
88 // doc-key: MkErrorC,MkErrorC-Get,om_
89
91 public native MkErrorE GetCode ();
92
94 public native int GetNum ();
95
97 public native long GetSize ();
98
100 public native String GetText ();
101
103 // MkErrorC_Get_JV_API
104
108
109 // doc-key: MkErrorC,MkErrorC-Misc,oc_
110
112 public native MkErrorC Catch (Throwable exception, String callfunc);
113
115 public MkErrorC Catch () {
116 return Catch (null, null);
117 }
118
120 public MkErrorC Catch (Throwable exception) {
121 return Catch (exception, null);
122 }
123
124 // doc-key: MkErrorC,MkErrorC-Misc,om_
125
127 public native void Cleanup (String callfunc, int callline);
128
130 public void Cleanup () {
131 Cleanup (null, -1);
132 }
133
135 public void Cleanup (String callfunc) {
136 Cleanup (callfunc, -1);
137 }
138
139 // skip class-overload: public native void Log (MkObjectC fmtobj, int debug, String callfunc, int lvl)
140
142 public void Log () {
143 Log ((MkObjectC) null, 0, null, 0);
144 }
145
147 public void Log (MkObjectC fmtobj) {
148 Log (fmtobj, 0, null, 0);
149 }
150
152 public void Log (MkObjectC fmtobj, int debug) {
153 Log (fmtobj, debug, null, 0);
154 }
155
157 public void Log (MkObjectC fmtobj, int debug, String callfunc) {
158 Log (fmtobj, debug, callfunc, 0);
159 }
160
162 public native void Println (String msg, String callfunc, int callline);
163
165 public void Println () {
166 Println ("", null, -1);
167 }
168
170 public void Println (String msg) {
171 Println (msg, null, -1);
172 }
173
175 public void Println (String msg, String callfunc) {
176 Println (msg, callfunc, -1);
177 }
178
180 public native void Reset (String callfunc, int callline, boolean force);
181
183 public void Reset () {
184 Reset (null, -1, false);
185 }
186
188 public void Reset (String callfunc) {
189 Reset (callfunc, -1, false);
190 }
191
193 public void Reset (String callfunc, int callline) {
194 Reset (callfunc, callline, false);
195 }
196
198 public native MkErrorE Stack (String callfunc, String callfile, int callline);
199
201 public native void StackFormat (String callfunc, String callfile, int callline);
202
204 public void StackFormat () {
205 StackFormat (null, null, -1);
206 }
207
209 public void StackFormat (String callfunc) {
210 StackFormat (callfunc, null, -1);
211 }
212
214 public void StackFormat (String callfunc, String callfile) {
215 StackFormat (callfunc, callfile, -1);
216 }
217
219 public MkErrorE Stack () {
220 return Stack (null, null, -1);
221 }
222
224 public MkErrorE Stack (String callfunc) {
225 return Stack (callfunc, null, -1);
226 }
227
229 public MkErrorE Stack (String callfunc, String callfile) {
230 return Stack (callfunc, callfile, -1);
231 }
232
233 // skip class-overload: public native String ToString ()
234
236 // MkErrorC_Misc_JV_API
237
241
242 // doc-key: MkErrorC,MkErrorC-Raise,oc_
243
245 public native MkErrorC NoRaise ();
246
247 // doc-key: MkErrorC,MkErrorC-Raise,om_
248
250 public native void AppendC (String message);
251
253 public native void Raise ();
254
256 public native void SetC (String message, String callfunc, int errnum);
257
259 public void SetC (String message) {
260 SetC (message, null, -1);
261 }
262
264 public void SetC (String message, String callfunc) {
265 SetC (message, callfunc, -1);
266 }
267
268 // doc-key: MkErrorC,MkErrorC-Raise,sm_
269
271 public native static void PanicC (MkObjectC fmtobj, String callfunc, int errnum, String message);
272
274 public native static void PanicDEFAULT (MkObjectC fmtobj, String callfunc);
275
277 public static void PanicDEFAULT () {
278 PanicDEFAULT ((MkObjectC) null, null);
279 }
280
282 public static void PanicDEFAULT (MkObjectC fmtobj) {
283 PanicDEFAULT (fmtobj, null);
284 }
285
287 // MkErrorC_Raise_JV_API
288
292
293 // doc-key: MkErrorC,MkErrorC-Signal,om_
294
296 public native boolean IsABORT ();
297
299 public native boolean IsEXIT ();
300
302 public native boolean IsSOCKET ();
303
305 public native boolean IsTIMEOUT ();
306
308 public native void SetABORT (String detail, String callfunc);
309
311 public void SetABORT () {
312 SetABORT ("UNKNOWN", null);
313 }
314
316 public void SetABORT (String detail) {
317 SetABORT (detail, null);
318 }
319
321 public native void SetCONTINUE ();
322
324 public native void SetCode (MkErrorE code);
325
327 public native void SetEXIT (String callfunc);
328
330 public void SetEXIT () {
331 SetEXIT (null);
332 }
333
335 public native void SetSOCKET (String detail, String callfunc);
336
338 public void SetSOCKET () {
339 SetSOCKET ("UNKNOWN", null);
340 }
341
343 public void SetSOCKET (String detail) {
344 SetSOCKET (detail, null);
345 }
346
348 // MkErrorC_Signal_JV_API
349
353
354 // doc-key: MkErrorC,MkErrorC-System,sc_
355
357 public native static MkErrorC DEFAULT ();
358
360 public native static MkErrorC FORMAT (MkObjectC fmtobj);
361
363 public static MkErrorC FORMAT () {
364 return FORMAT ((MkObjectC) null);
365 }
366
368 public native static MkErrorC IGNORE ();
369
371 public native static MkErrorC PRINT ();
372
374 // MkErrorC_System_JV_API
375
379
380 // doc-key: MkErrorC,MkErrorC-TOR,oCx
381
383 public native MkErrorC Dup ();
384
385 // doc-key: MkErrorC,MkErrorC-TOR,om_
386
388 public native void Copy (MkErrorC srce);
389
391 // MkErrorC_TOR_JV_API
392
393 // END-MkErrorC - created by 'jv_MqS.tcl -i NHI1_HOME/theKernel/c/gen/c_mkkernel.meta' - DO NOT change
394
395}
MkErrorC - the class known as err or error is used to create and manage an error message …
Definition MkErrorC.java:18
MkKernel PACKAGE - The package is the toplevel structure of the Programming-Language-Micro-Kernel (PL...
MkObjectC - class known as obj or object is used as base-class type for a Programming-Language-Micro-...
Java: enum MkErrorE → C-API
Definition MkErrorE.java:16
static native MkErrorC GetNull()
Java: [static] MkErrorC MkErrorC.GetNull() → C-API Null-Slot - return a MkErrorC typed NULL inst...
static native MkErrorC Instances()
Java: [static] MkErrorC MkErrorC.Instances() → C-API get head-instance from linked-list of MkErr...
native MkErrorC Prev()
Java: MkErrorC err.Prev() → C-API get previous instance from linked-list of MkErrorS type
static native MkErrorC HandleResolve(int netHdl)
Java: [static] MkErrorC MkErrorC.HandleResolve(int netHdl) → C-API Handle-Resolve-Slot - return ...
native MkErrorC Next()
Java: MkErrorC err.Next() → C-API get next instance from linked-list of MkErrorS type
native int GetNum()
Java: int err.GetNum() → C-API get the MkErrorS::num. The number can be used as exit-code …
native String GetText()
Java: String err.GetText() → C-API get the MkErrorS::text …
native MkErrorE GetCode()
Java: MkErrorE err.GetCode() → C-API get the value of MkErrorS::code …
native long GetSize()
Java: long err.GetSize() → C-API get the error-message-size from the exception-object …
void Log(MkObjectC fmtobj, int debug)
Java: err.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
void Println(String msg, String callfunc)
Java: err.Println(?String msg = ""?, ?String callfunc = null?, ?int callline = -1?...
native void Println(String msg, String callfunc, int callline)
Java: err.Println(?String msg = ""?, ?String callfunc = null?, ?int callline = -1?...
void Cleanup()
Java: err.Cleanup(?String callfunc = null?, ?int callline = -1?) → C-API cleanup and print unwa...
void Println()
Java: err.Println(?String msg = ""?, ?String callfunc = null?, ?int callline = -1?...
MkErrorC Catch()
Java: MkErrorC err.Catch(?Throwable exception = null?, ?String callfunc = null?) → C-API conver...
void StackFormat()
Java: err.StackFormat(?String callfunc = null?, ?String callfile = null?, ?int callline = -1?...
MkErrorE Stack(String callfunc)
Java: MkErrorE err.Stack(?String callfunc = null?, ?String callfile = null?, ?int callline = -1?...
void StackFormat(String callfunc)
Java: err.StackFormat(?String callfunc = null?, ?String callfile = null?, ?int callline = -1?...
native void StackFormat(String callfunc, String callfile, int callline)
Java: err.StackFormat(?String callfunc = null?, ?String callfile = null?, ?int callline = -1?...
MkErrorC Catch(Throwable exception)
Java: MkErrorC err.Catch(?Throwable exception = null?, ?String callfunc = null?) → C-API conver...
MkErrorE Stack()
Java: MkErrorE err.Stack(?String callfunc = null?, ?String callfile = null?, ?int callline = -1?...
void StackFormat(String callfunc, String callfile)
Java: err.StackFormat(?String callfunc = null?, ?String callfile = null?, ?int callline = -1?...
void Log()
Java: err.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
void Log(MkObjectC fmtobj, int debug, String callfunc)
Java: err.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
MkErrorE Stack(String callfunc, String callfile)
Java: MkErrorE err.Stack(?String callfunc = null?, ?String callfile = null?, ?int callline = -1?...
void Log(MkObjectC fmtobj)
Java: err.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
void Println(String msg)
Java: err.Println(?String msg = ""?, ?String callfunc = null?, ?int callline = -1?...
native MkErrorC Catch(Throwable exception, String callfunc)
Java: MkErrorC err.Catch(?Throwable exception = null?, ?String callfunc = null?) → C-API conver...
native void Cleanup(String callfunc, int callline)
Java: err.Cleanup(?String callfunc = null?, ?int callline = -1?) → C-API cleanup and print unwa...
void Reset()
Java: err.Reset(?String callfunc = null?, ?int callline = -1?, ?boolean force = false?...
void Reset(String callfunc)
Java: err.Reset(?String callfunc = null?, ?int callline = -1?, ?boolean force = false?...
void Reset(String callfunc, int callline)
Java: err.Reset(?String callfunc = null?, ?int callline = -1?, ?boolean force = false?...
void Cleanup(String callfunc)
Java: err.Cleanup(?String callfunc = null?, ?int callline = -1?) → C-API cleanup and print unwa...
native void Reset(String callfunc, int callline, boolean force)
Java: err.Reset(?String callfunc = null?, ?int callline = -1?, ?boolean force = false?...
native MkErrorE Stack(String callfunc, String callfile, int callline)
Java: MkErrorE err.Stack(?String callfunc = null?, ?String callfile = null?, ?int callline = -1?...
native MkErrorC NoRaise()
Java: MkErrorC err.NoRaise() → C-API ignore the next return of MK_ERROR and do not raise an tar...
static void PanicDEFAULT()
Java: [static] MkErrorC.PanicDEFAULT(?MkObjectC fmtobj = null?, ?String callfunc = null?...
native void Raise()
Java: err.Raise() → C-API convert an jvmkkernel error into an programming-language-error and ra...
native void SetC(String message, String callfunc, int errnum)
Java: err.SetC(String message, ?String callfunc = null?, ?int errnum = -1?) → C-API 'set' and '...
static native void PanicDEFAULT(MkObjectC fmtobj, String callfunc)
Java: [static] MkErrorC.PanicDEFAULT(?MkObjectC fmtobj = null?, ?String callfunc = null?...
static void PanicDEFAULT(MkObjectC fmtobj)
Java: [static] MkErrorC.PanicDEFAULT(?MkObjectC fmtobj = null?, ?String callfunc = null?...
native void AppendC(String message)
Java: err.AppendC(String message) → C-API append the message to the MkErrorS::text …
void SetC(String message)
Java: err.SetC(String message, ?String callfunc = null?, ?int errnum = -1?) → C-API 'set' and '...
static native void PanicC(MkObjectC fmtobj, String callfunc, int errnum, String message)
Java: [static] MkErrorC.PanicC(?MkObjectC fmtobj = null?, ?String callfunc = null?...
void SetC(String message, String callfunc)
Java: err.SetC(String message, ?String callfunc = null?, ?int errnum = -1?) → C-API 'set' and '...
native boolean IsEXIT()
Java: boolean err.IsEXIT() → C-API check on APPLICATION-EXIT error …
native boolean IsSOCKET()
Java: boolean err.IsSOCKET() → C-API check on SOCKET-DOWN error …
native void SetCode(MkErrorE code)
Java: err.SetCode(MkErrorE code) → C-API set the MkErrorS::code value …
native void SetABORT(String detail, String callfunc)
Java: err.SetABORT(?String detail = "UNKNOWN"?, ?String callfunc = null?) → C-API send the ABOR...
native void SetEXIT(String callfunc)
Java: err.SetEXIT(?String callfunc = null?) → C-API finish the current callback,...
native boolean IsABORT()
Java: boolean err.IsABORT() → C-API check on ABORT signal …
void SetABORT(String detail)
Java: err.SetABORT(?String detail = "UNKNOWN"?, ?String callfunc = null?) → C-API send the ABOR...
void SetABORT()
Java: err.SetABORT(?String detail = "UNKNOWN"?, ?String callfunc = null?) → C-API send the ABOR...
native boolean IsTIMEOUT()
Java: boolean err.IsTIMEOUT() → C-API check on TIMEOUT error …
void SetEXIT()
Java: err.SetEXIT(?String callfunc = null?) → C-API finish the current callback,...
native void SetCONTINUE()
Java: err.SetCONTINUE() → C-API signal end of processing in an MqMqEventIF callback …
void SetSOCKET(String detail)
Java: err.SetSOCKET(?String detail = "UNKNOWN"?, ?String callfunc = null?) → C-API create SOCKE...
void SetSOCKET()
Java: err.SetSOCKET(?String detail = "UNKNOWN"?, ?String callfunc = null?) → C-API create SOCKE...
native void SetSOCKET(String detail, String callfunc)
Java: err.SetSOCKET(?String detail = "UNKNOWN"?, ?String callfunc = null?) → C-API create SOCKE...
static native MkErrorC FORMAT(MkObjectC fmtobj)
Java: [static] MkErrorC MkErrorC.FORMAT(?MkObjectC fmtobj = null?) → C-API system-error-format -...
static native MkErrorC PRINT()
Java: [static] MkErrorC MkErrorC.PRINT() → C-API ignore-system-error - print the next error into...
static native MkErrorC DEFAULT()
Java: [static] MkErrorC MkErrorC.DEFAULT() → C-API default-system-error - default-error …
static native MkErrorC IGNORE()
Java: [static] MkErrorC MkErrorC.IGNORE() → C-API ignore-system-error - ignore the next error …
static MkErrorC FORMAT()
Java: [static] MkErrorC MkErrorC.FORMAT(?MkObjectC fmtobj = null?) → C-API system-error-format -...
native void Copy(MkErrorC srce)
Java: dest.Copy(MkErrorC srce) → C-API Copy-Constructor - sync an existing MkErrorC instance wi...
native MkErrorC Dup()
Java: [constructor] MkErrorC srce.Dup() → C-API Dup-Constructor - create a new MkErrorC instance...
static void Setup()
Java: [static] Setup() → C-API setup jvmkkernel internal memory …