de.saar.chorus.domgraph.utool
Class ExitCodes

Object
  extended by ExitCodes

public class ExitCodes
extends Object

Exit codes for Utool. Utool signals errors with an exit code with bit 7 set (i.e. values of 128 or more). The exit codes are split up as follows:

The exit codes for the main program are documented here. The exit codes for the codecs are documented together with the respective codec: Each codec will return an error value between 0 and 31, which is then OR'ed with 192 or 224, respectively.

This class also defines the exit codes for the "utool classify" command, which are all values between 0 and 127.

Author:
Alexander Koller

Field Summary
static int CLASSIFY_COMPACT
           
static int CLASSIFY_COMPACTIFIABLE
           
static int CLASSIFY_HN_CONNECTED
           
static int CLASSIFY_LEAF_LABELLED
           
static int CLASSIFY_NORMAL
           
static int CLASSIFY_WEAKLY_NORMAL
           
static int CODEC_REGISTRATION_ERROR
           
static int EQUIVALENCE_READING_ERROR
           
static int EXAMPLE_PARSING_ERROR
           
static int GRAPH_DRAWING_ERROR
           
static int ILLFORMED_INPUT_GRAPH
           
static int IO_ERROR
           
static int MALFORMED_DOMGRAPH_BASE_INPUT
           
static int MALFORMED_DOMGRAPH_BASE_OUTPUT
           
static int NO_INPUT
           
static int NO_INPUT_CODEC_SPECIFIED
           
static int NO_OUTPUT_CODEC_SPECIFIED
           
static int NO_SUCH_COMMAND
           
static int NO_SUCH_INPUT_CODEC
           
static int NO_SUCH_OUTPUT_CODEC
           
static int OUTPUT_CODEC_NOT_MULTI
           
static int PARSER_CONFIGURATION_ERROR
           
static int PARSING_ERROR_INPUT_GRAPH
           
static int SERVER_IO_ERROR
           
 
Constructor Summary
ExitCodes()
           
 
Method Summary
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MALFORMED_DOMGRAPH_BASE_INPUT

public static final int MALFORMED_DOMGRAPH_BASE_INPUT
See Also:
Constant Field Values

PARSING_ERROR_INPUT_GRAPH

public static final int PARSING_ERROR_INPUT_GRAPH
See Also:
Constant Field Values

MALFORMED_DOMGRAPH_BASE_OUTPUT

public static final int MALFORMED_DOMGRAPH_BASE_OUTPUT
See Also:
Constant Field Values

IO_ERROR

public static final int IO_ERROR
See Also:
Constant Field Values

SERVER_IO_ERROR

public static final int SERVER_IO_ERROR
See Also:
Constant Field Values

GRAPH_DRAWING_ERROR

public static final int GRAPH_DRAWING_ERROR
See Also:
Constant Field Values

PARSER_CONFIGURATION_ERROR

public static final int PARSER_CONFIGURATION_ERROR
See Also:
Constant Field Values

NO_SUCH_COMMAND

public static final int NO_SUCH_COMMAND
See Also:
Constant Field Values

CODEC_REGISTRATION_ERROR

public static final int CODEC_REGISTRATION_ERROR
See Also:
Constant Field Values

EXAMPLE_PARSING_ERROR

public static final int EXAMPLE_PARSING_ERROR
See Also:
Constant Field Values

NO_INPUT

public static final int NO_INPUT
See Also:
Constant Field Values

NO_INPUT_CODEC_SPECIFIED

public static final int NO_INPUT_CODEC_SPECIFIED
See Also:
Constant Field Values

NO_SUCH_INPUT_CODEC

public static final int NO_SUCH_INPUT_CODEC
See Also:
Constant Field Values

ILLFORMED_INPUT_GRAPH

public static final int ILLFORMED_INPUT_GRAPH
See Also:
Constant Field Values

NO_OUTPUT_CODEC_SPECIFIED

public static final int NO_OUTPUT_CODEC_SPECIFIED
See Also:
Constant Field Values

NO_SUCH_OUTPUT_CODEC

public static final int NO_SUCH_OUTPUT_CODEC
See Also:
Constant Field Values

OUTPUT_CODEC_NOT_MULTI

public static final int OUTPUT_CODEC_NOT_MULTI
See Also:
Constant Field Values

EQUIVALENCE_READING_ERROR

public static final int EQUIVALENCE_READING_ERROR
See Also:
Constant Field Values

CLASSIFY_WEAKLY_NORMAL

public static final int CLASSIFY_WEAKLY_NORMAL
See Also:
Constant Field Values

CLASSIFY_NORMAL

public static final int CLASSIFY_NORMAL
See Also:
Constant Field Values

CLASSIFY_COMPACT

public static final int CLASSIFY_COMPACT
See Also:
Constant Field Values

CLASSIFY_COMPACTIFIABLE

public static final int CLASSIFY_COMPACTIFIABLE
See Also:
Constant Field Values

CLASSIFY_HN_CONNECTED

public static final int CLASSIFY_HN_CONNECTED
See Also:
Constant Field Values

CLASSIFY_LEAF_LABELLED

public static final int CLASSIFY_LEAF_LABELLED
See Also:
Constant Field Values
Constructor Detail

ExitCodes

public ExitCodes()