us.zuercher.gpx2map
Class ResultCodes

java.lang.Object
  extended by us.zuercher.gpx2map.ResultCodes

public class ResultCodes
extends Object

ResultCodes are integer values returned by MainArgumentParser and set as the exit status of the command line interface to Gpx2Map.

Author:
Stephan Zuercher

Field Summary
static int RESULT_ERROR_BAD_BOUNDING_RECT_VALUES
          Bounding set to coordinates, but cannot parse lat/lon values.
static int RESULT_ERROR_INCOMPATIBLE_ARGUMENTS
          Error downloading tiles.
static int RESULT_ERROR_IO
          Error downloading maps or reading/writing files.
static int RESULT_ERROR_MISSING_REQUIRED_ARGUMENTS
          Missing one or more required arguments.
static int RESULT_ERROR_PROCESSING_REQUEST
          Error processing request.
static int RESULT_ERROR_UNKNOWN_ARGUMENT
          Unknown argument.
static int RESULT_ERROR_UNKNOWN_RTE_COLOR
          Cannot find the given color name.
static int RESULT_ERROR_UNKNOWN_RTEPT_STYLE
          Cannot find the given style name.
static int RESULT_ERROR_UNKNOWN_TRK_COLOR
          Cannot find the given color name.
static int RESULT_ERROR_UNKNOWN_TRKPT_STYLE
          Cannot find the given style name.
static int RESULT_ERROR_UNKNOWN_WPT_COLOR
          Cannot find the given color name.
static int RESULT_ERROR_UNKNOWN_WPT_STYLE
          Cannot find the given style name.
static int RESULT_OK
          Success.
 
Constructor Summary
ResultCodes()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESULT_OK

public static final int RESULT_OK
Success.

See Also:
Constant Field Values

RESULT_ERROR_MISSING_REQUIRED_ARGUMENTS

public static final int RESULT_ERROR_MISSING_REQUIRED_ARGUMENTS
Missing one or more required arguments.

See Also:
Constant Field Values

RESULT_ERROR_UNKNOWN_ARGUMENT

public static final int RESULT_ERROR_UNKNOWN_ARGUMENT
Unknown argument.

See Also:
Constant Field Values

RESULT_ERROR_INCOMPATIBLE_ARGUMENTS

public static final int RESULT_ERROR_INCOMPATIBLE_ARGUMENTS
Error downloading tiles.

See Also:
Constant Field Values

RESULT_ERROR_PROCESSING_REQUEST

public static final int RESULT_ERROR_PROCESSING_REQUEST
Error processing request.

See Also:
Constant Field Values

RESULT_ERROR_IO

public static final int RESULT_ERROR_IO
Error downloading maps or reading/writing files.

See Also:
Constant Field Values

RESULT_ERROR_BAD_BOUNDING_RECT_VALUES

public static final int RESULT_ERROR_BAD_BOUNDING_RECT_VALUES
Bounding set to coordinates, but cannot parse lat/lon values.

See Also:
Constant Field Values

RESULT_ERROR_UNKNOWN_TRK_COLOR

public static final int RESULT_ERROR_UNKNOWN_TRK_COLOR
Cannot find the given color name.

See Also:
Constant Field Values

RESULT_ERROR_UNKNOWN_WPT_COLOR

public static final int RESULT_ERROR_UNKNOWN_WPT_COLOR
Cannot find the given color name.

See Also:
Constant Field Values

RESULT_ERROR_UNKNOWN_RTE_COLOR

public static final int RESULT_ERROR_UNKNOWN_RTE_COLOR
Cannot find the given color name.

See Also:
Constant Field Values

RESULT_ERROR_UNKNOWN_TRKPT_STYLE

public static final int RESULT_ERROR_UNKNOWN_TRKPT_STYLE
Cannot find the given style name.

See Also:
Constant Field Values

RESULT_ERROR_UNKNOWN_WPT_STYLE

public static final int RESULT_ERROR_UNKNOWN_WPT_STYLE
Cannot find the given style name.

See Also:
Constant Field Values

RESULT_ERROR_UNKNOWN_RTEPT_STYLE

public static final int RESULT_ERROR_UNKNOWN_RTEPT_STYLE
Cannot find the given style name.

See Also:
Constant Field Values
Constructor Detail

ResultCodes

public ResultCodes()