- enahcedstringevaluate.zip
- EnahcedStringEvaluate
- EhancedStringEvalute.sln
- EhancedStringEvalute.suo
- EnhancedStringEvaluate
- EvaluateTest
- bin
- Debug
- EnhancedStringEvaluate.dll
- EnhancedStringEvaluate.pdb
- EvaluateSampleTest.dll
- EvaluateSampleTest.pdb
- EvaluateTest.dll
- EvaluateTest.pdb
- TestEvaluation.exe
- TestEvaluation.pdb
- EnhancedStringEvaluateTest.cs
- EvaluateSampleTest.csproj
- EvaluateSampleTest.csproj.vs10x
- EvaluateTest.csproj.vs10x
- Properties
- TestEvaluate
- Enhanced String Handling.pdf
- ehancedstringevalute.zip
- EhancedStringEvalute.sln
- EhancedStringEvalute.suo
- EnhancedStringEvaluate
- EvaluateTest
- bin
- Debug
- EnhancedStringEvaluate.dll
- EnhancedStringEvaluate.pdb
- EvaluateSampleTest.dll
- EvaluateSampleTest.pdb
- EvaluateTest.dll
- EvaluateTest.pdb
- TestEvaluation.exe
- TestEvaluation.pdb
- EnhancedStringEvaluateTest.cs
- EvaluateSampleTest.csproj
- EvaluateSampleTest.csproj.vs10x
- EvaluateTest.csproj.vs10x
- obj
- Debug
- Properties
- TestEvaluate
- TestResults
- Avi Farah_TEST-PC 2010-08-21 00_24_34.trx
- Avi Farah_TEST-PC 2010-08-21 00_27_42.trx
- Avi Farah_TEST-PC 2010-09-13 14_37_39.trx
- Avi Farah_TEST-PC 2010-09-13 14_38_10.trx
- Avi Farah_TEST-PC 2010-09-13 14_39_19.trx
- Avi Farah_TEST-PC 2010-09-13 14_39_49.trx
- Avi Farah_TEST-PC 2010-09-13 14_42_18.trx
- Avi Farah_TEST-PC 2010-09-13 14_49_58.trx
- Avi Farah_TEST-PC 2010-09-24 01_46_50.trx
- Avi Farah_TEST-PC 2010-09-24 01_48_16.trx
- Avi Farah_TEST-PC 2010-10-23 20_55_40.trx
- Avi Farah_TEST-PC 2010-11-19 19_40_15.trx
- Avi Farah_TEST-PC 2010-11-19 19_40_15
- In
- Out
|
using System;
namespace EnhancedStringEvaluate
{
/// <summary>
/// Provide an exception that is specific to this library
/// </summary>
public class EnhancedStringException : Exception
{
/// <summary>May be null or string.Empty</summary>
public string Identifier { get; private set; }
/// <summary>May be null</summary>
public EnhancedStrPairElement Element { get; private set; }
/// <summary>
/// .ctor
/// </summary>
/// <param name="key"></param>
/// <param name="elem"></param>
public EnhancedStringException(string key, EnhancedStrPairElement elem)
: base()
{
Element = elem;
Identifier = key;
}
public EnhancedStringException(string key, EnhancedStrPairElement elem, string message)
: base(message)
{
Element = elem;
Identifier = key;
}
public EnhancedStringException(string key, EnhancedStrPairElement elem, string message, Exception innerException)
: base(message, innerException)
{
Element = elem;
Identifier = key;
}
public EnhancedStringException(string key, string value)
: this(key, new EnhancedStrPairElement(key, value)) { }
public EnhancedStringException(string key, string value, string message)
: this(key, new EnhancedStrPairElement(key, value), message) { }
public EnhancedStringException(string key, string value, string message, Exception innerException)
: this(key, new EnhancedStrPairElement(key, value), message, innerException) { }
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.