/*
- * Copyright 2000-2014 JetBrains s.r.o.
+ * Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
if (headless && myStarter instanceof ApplicationStarterEx && !((ApplicationStarterEx)myStarter).isHeadless()) {
Main.showMessage("Startup Error", "Application cannot start in headless mode", true);
- System.exit(Main.STARTUP_IMPOSSIBLE);
+ System.exit(Main.NO_GRAPHICS);
}
myStarter.premain(args);