private static string _FindException(OctopusCollateralDeleteExceptionEnum exceptionId) { string returned = String.Empty; switch(exceptionId) { case OctopusCollateralDeleteExceptionEnum.HasChildrens: returned = "CollateralExceptionHasChildrens.Text"; break; } return returned; }
public OctopusCollateralDeleteException(OctopusCollateralDeleteExceptionEnum exceptionCode) { _code = _FindException(exceptionCode); }