Enum UncaughtExceptionsLogger
-
- 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 UncaughtExceptionsLoggervalueOf(String value)Returns the enum constant of this type with the specified name. final Array<UncaughtExceptionsLogger>values()Returns an array containing the constants of this enum type, in the order they're declared. -
-
Method Detail
-
valueOf
final UncaughtExceptionsLogger valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<UncaughtExceptionsLogger> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
-
-
-