Beispiel #1
0
 public PdbParseException(int code, Exception innerException)
     : base(
         ((code >= (int)DiaHresult.E_PDB_OK) && (code < (int)DiaHresult.E_PDB_MAX))
           ? ((DiaHresult)code).ToString()
           : innerException.Message,
         innerException)
 {
     this.ExceptionCode = (DiaHresult)code;
 }
Beispiel #2
0
 public PdbParseException(string message, Exception innerException)
     : base(message, innerException)
 {
     this.ExceptionCode = DiaHresult.E_PDB_MAX;
 }
Beispiel #3
0
 public PdbParseException(DiaHresult code, string message, Exception innerException)
     : base(message, innerException)
 {
     this.ExceptionCode = code;
 }
Beispiel #4
0
 public PdbParseException(DiaHresult hresult, Exception innerException)
     : this((int)hresult, innerException)
 {
     this.ExceptionCode = hresult;
 }