Interface IJOptUncaughtExceptionHandler
- All Superinterfaces:
Thread.UncaughtExceptionHandler
- All Known Implementing Classes:
JOptUncaughtExceptionHandler
This interface deals with so far uncaught
Exceptions.- Since:
- 21/01/2019
- Version:
- 04/10/2019
- Author:
- DNA
-
Method Summary
Modifier and TypeMethodDescriptionvoidAttaches theIOptimizationas anOptional.Gets theattachedIOptimizationas anOptional.Gets the theIErrorStreamer.voidvoidsetErrorStreamer(IErrorStreamer errorStreamer) Sets the input as theJOptUncaughtExceptionHandler.errorStreamer.Methods inherited from interface java.lang.Thread.UncaughtExceptionHandler
uncaughtException
-
Method Details
-
setErrorStreamer
Sets the input as theJOptUncaughtExceptionHandler.errorStreamer. The default value isnull.- Parameters:
errorStreamer- error streamer
-
getErrorStreamer
IErrorStreamer getErrorStreamer()Gets the theIErrorStreamer.- Returns:
- the errorStreamer
-
attachOptimization
Attaches theIOptimizationas anOptional.- Parameters:
opti- the optimization to attach
-
getAttachedOptimization
Optional<IOptimization> getAttachedOptimization()Gets theattachedIOptimizationas anOptional.- Returns:
- the optimization
-
setAttachedOptimization
-
getInnerHandler
IJOptUncaughtExceptionHandler getInnerHandler()
-