$darkmode
DENOPTIM
denoptim.exception.ExceptionUtils Class Reference

Static Public Member Functions

static String getStackTraceAsString (Throwable t)
 Prints the stack trace of an exception into a string. More...
 

Detailed Description

Definition at line 24 of file ExceptionUtils.java.

Member Function Documentation

◆ getStackTraceAsString()

static String denoptim.exception.ExceptionUtils.getStackTraceAsString ( Throwable  t)
static

Prints the stack trace of an exception into a string.

Parameters
tthe exception to work with
Returns
a string that corresponds to what Throwable#printStackTrace() would print on standard output stream.

Definition at line 33 of file ExceptionUtils.java.

Referenced by denoptim.ga.EvolutionaryAlgorithm.run(), denoptim.ga.ExternalCmdsListener.run(), and denoptim.main.Main.runProgramTask().

Here is the caller graph for this function:

The documentation for this class was generated from the following file: