-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum UncaughtExceptionsLogger extends Enum<UncaughtExceptionsLogger>
Defines what to do with the stack traces of exceptions that are thrown during parallel tasks execution.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classUncaughtExceptionsLogger.Companion
-
Enum Constant Summary
Enum Constants Enum Constant Description NOOPDoes nothing with the stack traces.
Warning: when using this policy, uncaught exceptions thrown during the problem resolution will be silently ignored. This policy should only be used when the solver is guaranteed not to throw any exception (for instance if it wraps everything in a try/catch block)
STDERRPrint uncaught exceptions' stack traces to the standard error stream.
SLF4JLog exceptions via SLF4J logging API. This requires to provide an SLF4J implementation on the classpath, otherwise nothing will be printed at all.
STDERR_AND_SLF4J
-
Method Summary
Modifier and Type Method Description final StringgetName()final IntegergetOrdinal()-
-
Method Detail
-
getOrdinal
final Integer getOrdinal()
-
-
-
-