public BusinessException Encadear(BusinessException pException)
 {
     if (Child != null)
     {
         Child.Encadear(pException);
     }
     else
     {
         Child = pException;
     }
     return(this);
 }
Exemple #2
0
 public ErrorException(string pMessage, BusinessException pChildException, Exception pInnerException = null)
     : base(pMessage, pChildException, pInnerException)
 {
 }
Exemple #3
0
 public DependenciaException(string pObjeto, string pDependente, BusinessException pChildException, Exception pInnerException)
     : base("", pChildException, pInnerException)
 {
     _objeto     = pObjeto;
     _dependente = pDependente;
 }
Exemple #4
0
 public DependenciaException(string pObjeto, string pDependente, BusinessException pChildException)
     : this(pObjeto, pDependente, pChildException, null)
 {
 }
Exemple #5
0
 public ReservaFechadaException(DateTime pDataReferencia, BusinessException pChildException, Exception pInnerException = null)
     : base("", pChildException, pInnerException)
 {
     _dataReferencia = pDataReferencia;
 }
Exemple #6
0
 public CampoNaoInformadoException(string pObjeto, string pCampo, bool pRequerido, BusinessException pChildException, Exception pInnerException)
     : base("", pChildException, pInnerException)
 {
     _objeto    = pObjeto;
     _campo     = pCampo;
     _requerido = pRequerido;
 }
Exemple #7
0
 public CampoNaoInformadoException(string pObjeto, string pCampo, bool pRequerido, BusinessException pChildException)
     : this(pObjeto, pCampo, pRequerido, pChildException, null)
 {
 }
 public OperacaoNaoRealizadaException(BusinessException pChildException, Exception pInnerException = null)
     : base("", pChildException, pInnerException)
 {
 }