コード例 #1
0
 public PdbParseException(int code, Exception innerException)
     : base(
         (((uint)code >= (uint)PdbParseErrorCode.E_PDB_OK) && ((uint)code < (uint)PdbParseErrorCode.E_PDB_MAX)) ? String.Format("{0} ({1})", ((PdbParseErrorCode)code).ToString(), PdbParseExceptionStrings[(uint)code - (uint)PdbParseErrorCode.E_PDB_OK]) : innerException.Message,
         innerException)
 {
     ExceptionCode = (PdbParseErrorCode)(uint)code;
 }
コード例 #2
0
ファイル: PdbParseException.cs プロジェクト: blinds52/binskim
 public PdbParseException(int code, Exception innerException)
     : base(
         (((uint)code >= (uint)PdbParseErrorCode.E_PDB_OK) && ((uint)code < (uint)PdbParseErrorCode.E_PDB_MAX)) ? String.Format("{0} ({1})", ((PdbParseErrorCode)code).ToString(), PdbParseExceptionStrings[(uint)code - (uint)PdbParseErrorCode.E_PDB_OK]) : innerException.Message,
         innerException)
 {
     ExceptionCode = (PdbParseErrorCode)(uint)code;
 }
コード例 #3
0
 public PdbParseException(string message) : base(message)
 {
     ExceptionCode = PdbParseErrorCode.E_PDB_MAX;
 }
コード例 #4
0
 public PdbParseException(PdbParseErrorCode code, string message, Exception innerException)
     : base(message, innerException)
 {
     ExceptionCode = code;
 }
コード例 #5
0
 public PdbParseException(PdbParseErrorCode code, Exception innerException)
     : base(String.Format("{0} : {1}", code.ToString(), PdbParseExceptionStrings[(uint)code - (uint)PdbParseErrorCode.E_PDB_OK]), innerException)
 {
     ExceptionCode = code;
 }
コード例 #6
0
 public PdbParseException(string message, Exception innerException)
     : base(message, innerException)
 {
     this.ExceptionCode = PdbParseErrorCode.E_PDB_MAX;
 }
コード例 #7
0
 public PdbParseException(string message)
     : base(message)
 {
     ExceptionCode = PdbParseErrorCode.E_PDB_MAX;
 }
コード例 #8
0
 public PdbParseException(PdbParseErrorCode code, string message, Exception innerException)
     : base(message, innerException)
 {
     ExceptionCode = code;
 }
コード例 #9
0
 public PdbParseException(PdbParseErrorCode code, Exception innerException)
     : base(String.Format("{0} : {1}", code.ToString(), PdbParseExceptionStrings[(uint)code - (uint)PdbParseErrorCode.E_PDB_OK]), innerException)
 {
     ExceptionCode = code;
 }