Exemplo n.º 1
0
 internal IngresException(SqlEx.ErrInfo errinfo, Exception innerException)
     : base(errinfo.Msg, innerException)
 {
     AddError(errinfo.Msg, errinfo.sqlState, errinfo.code);
     while (innerException != null)
     {
         AddError(innerException.Message, errinfo.sqlState, errinfo.code);
         innerException = innerException.InnerException;
     }
 }
Exemplo n.º 2
0
 internal IngresError(SqlEx.ErrInfo errInfo)
 {
     this.message     = errInfo.Msg;
     this.SQLstate    = errInfo.sqlState;
     this.nativeError = errInfo.code;
 }
Exemplo n.º 3
0
 internal IngresException(SqlEx.ErrInfo errinfo)
     : base(errinfo.Msg)
 {
     AddError(errinfo.Msg, errinfo.sqlState, errinfo.code);
 }