SalesPoint Framework v3.1

sale
Interface ProcessErrorCodes

All Known Subinterfaces:
FormSheetStrategy.ErrorHandler
All Known Implementing Classes:
FormSheetStrategy, SaleProcess

public interface ProcessErrorCodes

A collection of predefined process error codes.

Since:
v2.0
Author:
Steffen Zschaler

Field Summary
static int DATABASKET_CONFLICT_ERROR
          Error code constant: A DataBasketConflictException occurred while trying to add/remove items to/from a container.
static int DUPLICATE_KEY_EXCEPTION
          Error code constant: When adding an item to a container, there was a key duplication.
static int ERR_INTERNAL
          Error code constant: Unspecific internal error, that should not normally occur.
static int ERR_LOWERBOUND
          Any user defined error code must be outside [ERR_LOWERBOUND, ERR_UPPERBOUND].
static int ERR_NOERROR
          Error code constant: No error.
static int ERR_UPPERBOUND
          Any user defined error code must be outside [ERR_LOWERBOUND, ERR_UPPERBOUND].
static int NOT_ENOUGH_ELEMENTS_ERROR
          Error code constant: There were not enough elements in the source of a move action in a TwoTableFormSheet.
static int REMOVE_VETO_EXCEPTION
          Error code constant: A VetoException occurred while trying to remove items from a container.
 

Field Detail

ERR_LOWERBOUND

public static final int ERR_LOWERBOUND
Any user defined error code must be outside [ERR_LOWERBOUND, ERR_UPPERBOUND].

See Also:
Constant Field Values

ERR_NOERROR

public static final int ERR_NOERROR
Error code constant: No error.

See Also:
Constant Field Values

ERR_INTERNAL

public static final int ERR_INTERNAL
Error code constant: Unspecific internal error, that should not normally occur.

See Also:
Constant Field Values

NOT_ENOUGH_ELEMENTS_ERROR

public static final int NOT_ENOUGH_ELEMENTS_ERROR
Error code constant: There were not enough elements in the source of a move action in a TwoTableFormSheet.

See Also:
Constant Field Values

REMOVE_VETO_EXCEPTION

public static final int REMOVE_VETO_EXCEPTION
Error code constant: A VetoException occurred while trying to remove items from a container.

See Also:
Constant Field Values

DUPLICATE_KEY_EXCEPTION

public static final int DUPLICATE_KEY_EXCEPTION
Error code constant: When adding an item to a container, there was a key duplication.

See Also:
Constant Field Values

DATABASKET_CONFLICT_ERROR

public static final int DATABASKET_CONFLICT_ERROR
Error code constant: A DataBasketConflictException occurred while trying to add/remove items to/from a container.

See Also:
Constant Field Values

ERR_UPPERBOUND

public static final int ERR_UPPERBOUND
Any user defined error code must be outside [ERR_LOWERBOUND, ERR_UPPERBOUND].

See Also:
Constant Field Values

SalesPoint Framework v3.1