Class JOptUncaughtExceptionHandler
java.lang.Object
com.dna.jopt.framework.exception.uncaught.JOptUncaughtExceptionHandler
- All Implemented Interfaces:
IJOptUncaughtExceptionHandler,Thread.UncaughtExceptionHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAttaches theIOptimizationas anOptional.Gets theattachedIOptimizationas anOptional.Gets the theIErrorStreamer.voidvoidsetErrorStreamer(IErrorStreamer errorStreamer) Sets the input as theerrorStreamer.voiduncaughtException(Thread t, Throwable e)
-
Constructor Details
-
JOptUncaughtExceptionHandler
-
JOptUncaughtExceptionHandler
public JOptUncaughtExceptionHandler()
-
-
Method Details
-
attachOptimization
Description copied from interface:IJOptUncaughtExceptionHandlerAttaches theIOptimizationas anOptional.- Specified by:
attachOptimizationin interfaceIJOptUncaughtExceptionHandler- Parameters:
opti- the optimization to attach
-
getInnerHandler
- Specified by:
getInnerHandlerin interfaceIJOptUncaughtExceptionHandler
-
setAttachedOptimization
- Specified by:
setAttachedOptimizationin interfaceIJOptUncaughtExceptionHandler
-
getAttachedOptimization
Description copied from interface:IJOptUncaughtExceptionHandlerGets theattachedIOptimizationas anOptional.- Specified by:
getAttachedOptimizationin interfaceIJOptUncaughtExceptionHandler- Returns:
- the optimization
-
setErrorStreamer
Description copied from interface:IJOptUncaughtExceptionHandlerSets the input as theerrorStreamer. The default value isnull.- Specified by:
setErrorStreamerin interfaceIJOptUncaughtExceptionHandler- Parameters:
errorStreamer- error streamer
-
getErrorStreamer
Description copied from interface:IJOptUncaughtExceptionHandlerGets the theIErrorStreamer.- Specified by:
getErrorStreamerin interfaceIJOptUncaughtExceptionHandler- Returns:
- the errorStreamer
-
uncaughtException
- Specified by:
uncaughtExceptionin interfaceThread.UncaughtExceptionHandler
-