private static string _FindException(OpenCbsCollateralDeleteExceptionEnum exceptionId)
		{
			string returned = String.Empty;
			switch(exceptionId)
			{
                case OpenCbsCollateralDeleteExceptionEnum.HasChildrens:
					returned = "CollateralExceptionHasChildrens.Text";
					break;

			}
			return returned;
		}
        private static string _FindException(OpenCbsCollateralDeleteExceptionEnum exceptionId)
        {
            string returned = String.Empty;

            switch (exceptionId)
            {
            case OpenCbsCollateralDeleteExceptionEnum.HasChildrens:
                returned = "CollateralExceptionHasChildrens.Text";
                break;
            }
            return(returned);
        }
        public OpenCbsCollateralDeleteException(OpenCbsCollateralDeleteExceptionEnum exceptionCode)
		{
			_code = _FindException(exceptionCode);
		}
 public OpenCbsCollateralDeleteException(OpenCbsCollateralDeleteExceptionEnum exceptionCode)
 {
     _code = _FindException(exceptionCode);
 }