Returns a string array representation of the specified throwable. @param throwable throwable @return string array
(final Throwable throwable)
| 270 | * @return string array |
| 271 | */ |
| 272 | private static String[] toArray(final Throwable throwable) { |
| 273 | final StringList sl = new StringList().add(throwable.toString()); |
| 274 | for(final StackTraceElement st : throwable.getStackTrace()) sl.add("\tat " + st); |
| 275 | return sl.finish(); |
| 276 | } |
| 277 | |
| 278 | /** |
| 279 | * Starts the specified class in a separate process. A -D (daemon) flag will be added to the |