final classCloseException extends Exception with NoStackTrace
An exception that represents collected errors which occurred on close of the app.
Note
Collected exceptions which occurred during closing are added as "suppressed" exceptions.
,
When execution of the App#nonExitingMain throws a CloseException, the app will not
attempt to call App#close() again in the App#exitOnError(t: Throwable) function since
this Exception is assumed be a result of already calling App#close().
An exception that represents collected errors which occurred on close of the app.
Collected exceptions which occurred during closing are added as "suppressed" exceptions.
,When execution of the
App#nonExitingMain
throws a CloseException, the app will not attempt to callApp#close()
again in theApp#exitOnError(t: Throwable)
function since this Exception is assumed be a result of already callingApp#close()
.https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#getSuppressed()