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 TypeMethodDescriptionvoid
Attaches theIOptimization
as anOptional
.Gets theattachedIOptimization
as anOptional
.Gets the theIErrorStreamer
.void
setErrorStreamer
(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 theIOptimization
as anOptional
.- Parameters:
opti
- the optimization to attach
-
getAttachedOptimization
Optional<IOptimization> getAttachedOptimization()Gets theattachedIOptimization
as anOptional
.- Returns:
- the optimization
-