-
Notifications
You must be signed in to change notification settings - Fork 474
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move exit codes to class defined in core module
- Loading branch information
Showing
3 changed files
with
37 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
recaf-core/src/main/java/software/coley/recaf/ExitCodes.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package software.coley.recaf; | ||
|
||
/** | ||
* Exit codes for Recaf calling {@link System#exit(int)}. | ||
* | ||
* @author Matt Coley | ||
*/ | ||
public class ExitCodes { | ||
public static final int SUCCESS = 0; | ||
public static final int ERR_UNKNOWN = 100; | ||
public static final int ERR_CLASS_NOT_FOUND = 101; | ||
public static final int ERR_NO_SUCH_METHOD = 102; | ||
public static final int ERR_INVOKE_TARGET = 103; | ||
public static final int ERR_ACCESS_TARGET = 104; | ||
public static final int ERR_OLD_JFX_VERSION = 105; | ||
public static final int ERR_UNKNOWN_JFX_VERSION = 106; | ||
public static final int ERR_CDI_INIT_FAILURE = 107; | ||
public static final int INTELLIJ_TERMINATION = 130; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters