SalesPoint Framework v3.1

sale.stdforms
Interface FormSheetStrategy.ErrorHandler

All Superinterfaces:
ProcessErrorCodes, Serializable
Enclosing interface:
FormSheetStrategy

public static interface FormSheetStrategy.ErrorHandler
extends Serializable, ProcessErrorCodes

Interface that defines a error handling strategy for a FormSheetStrategy.

Since:
v2.0
Author:
Steffen Zschaler

Field Summary
 
Fields inherited from interface sale.ProcessErrorCodes
DATABASKET_CONFLICT_ERROR, DUPLICATE_KEY_EXCEPTION, ERR_INTERNAL, ERR_LOWERBOUND, ERR_NOERROR, ERR_UPPERBOUND, NOT_ENOUGH_ELEMENTS_ERROR, REMOVE_VETO_EXCEPTION
 
Method Summary
 void error(SaleProcess p, int nErrorCode)
          Handle an error.
 

Method Detail

error

public void error(SaleProcess p,
                  int nErrorCode)
Handle an error.

Parameters:
p - the process in which the error occurred.
nErrorCode - an int value describing the error.
Override:
Always

SalesPoint Framework v3.1