};
new Thread(threadGroup, runnable, "Idea Main Thread").start();
}
public static void processException(Throwable t) {
if (!IdeaApplication.isLoaded()) {
<BUG>@SuppressWarnings("ThrowableResultOfMethodCallIgnored") StartupAbortedException se = findCause(t);
</BUG>
if (se == null) se = new StartupAbortedException(t);
<BUG>if (se.logError()) {
try {
if (Logger.isInitialized() && !(t instanceof ProcessCanceledException)) {</BUG>
getLogger().error(t);

};
Runnable runnable = new Runnable() {
@Override
public void run() {
try {
ClassUtilCore.clearJarURLCache();
Class<?> aClass = Class.forName(mainClass);
Method method = aClass.getDeclaredMethod(methodName, ArrayUtil.EMPTY_STRING_ARRAY.getClass());
method.setAccessible(true);
Object[] argsArray = {args};
method.invoke(null, argsArray);
