java.lang.Object
simula.runtime.RTS_RTObject.UncaughtExceptionHandler
- All Implemented Interfaces:
Thread.UncaughtExceptionHandler
- Enclosing class:
RTS_RTObject
public class RTS_RTObject.UncaughtExceptionHandler
extends Object
implements Thread.UncaughtExceptionHandler
UncaughtExceptionHandler
-
Field Summary
Modifier and TypeFieldDescriptionfinal RTS_RTObject
Current RTObject in which the exception occured. -
Constructor Summary
ConstructorDescriptionCreate an UncaughtExceptionHandler. -
Method Summary
Modifier and TypeMethodDescriptionprivate void
treatRuntimeError
(String msg) Utility: Treat Runtime errorvoid
uncaughtException
(Thread thread, Throwable e)
-
Field Details
-
obj
Current RTObject in which the exception occured.
-
-
Constructor Details
-
UncaughtExceptionHandler
Create an UncaughtExceptionHandler.- Parameters:
obj
- the Current RTObject in which the exception occured.
-
-
Method Details
-
uncaughtException
- Specified by:
uncaughtException
in interfaceThread.UncaughtExceptionHandler
-
treatRuntimeError
Utility: Treat Runtime error- Parameters:
msg
- the message
-