private string FindException(OpenCbsDOAUpdateExceptionEnum exceptionId) { string returned = String.Empty; switch(exceptionId) { case OpenCbsDOAUpdateExceptionEnum.NewNameIsNull: returned = "DOAExceptionNewNameIsNull.Text"; break; case OpenCbsDOAUpdateExceptionEnum.NoSelect: returned = "DOAExceptionNoSelect.Text"; break; } return returned; }
private string FindException(OpenCbsDOAUpdateExceptionEnum exceptionId) { string returned = String.Empty; switch (exceptionId) { case OpenCbsDOAUpdateExceptionEnum.NewNameIsNull: returned = "DOAExceptionNewNameIsNull.Text"; break; case OpenCbsDOAUpdateExceptionEnum.NoSelect: returned = "DOAExceptionNoSelect.Text"; break; } return(returned); }
public OpenCbsDoaUpdateException(OpenCbsDOAUpdateExceptionEnum exceptionCode) { code = FindException(exceptionCode); }
public OpenCbsDoaUpdateException(OpenCbsDOAUpdateExceptionEnum exceptionCode) { code = FindException(exceptionCode); }