Package org.harctoolbox.cmdline
Class ProgramExitStatus
java.lang.Object
org.harctoolbox.cmdline.ProgramExitStatus
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
-
Field Details
-
EXIT_SUCCESS
public static final int EXIT_SUCCESS- See Also:
-
EXIT_USAGE_ERROR
public static final int EXIT_USAGE_ERROR- See Also:
-
EXIT_SEMANTIC_USAGE_ERROR
public static final int EXIT_SEMANTIC_USAGE_ERROR- See Also:
-
EXIT_FATAL_PROGRAM_FAILURE
public static final int EXIT_FATAL_PROGRAM_FAILURE- See Also:
-
EXIT_INTERNAL_FAILURE
public static final int EXIT_INTERNAL_FAILURE- See Also:
-
EXIT_CONFIG_READ_ERROR
public static final int EXIT_CONFIG_READ_ERROR- See Also:
-
EXIT_CONFIG_WRITE_ERROR
public static final int EXIT_CONFIG_WRITE_ERROR- See Also:
-
EXIT_IO_ERROR
public static final int EXIT_IO_ERROR- See Also:
-
EXIT_XML_ERROR
public static final int EXIT_XML_ERROR- See Also:
-
EXIT_DYNAMICLINK_ERROR
public static final int EXIT_DYNAMICLINK_ERROR- See Also:
-
EXIT_THIS_CANNOT_HAPPEN
public static final int EXIT_THIS_CANNOT_HAPPEN- See Also:
-
EXIT_INTERRUPTED
public static final int EXIT_INTERRUPTED- See Also:
-
-
Constructor Details
-
ProgramExitStatus
-
ProgramExitStatus
public ProgramExitStatus()
-
-
Method Details
-
die
-
getExitStatus
public int getExitStatus()- Returns:
- the exitStatus
-
getMessage
- Returns:
- the message
-
isSuccess
public boolean isSuccess() -
die
public void die()
-