// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System;
using System.Runtime.InteropServices;
+using System.Runtime.Serialization;
namespace System.ComponentModel.Design
{
+#if NET_2_0
+ [Serializable]
+#endif
public class CheckoutException : ExternalException
{
- public static readonly CheckoutException Canceled = new CheckoutException ();
+ public static readonly CheckoutException Canceled = new CheckoutException (
+ "The user canceled the checkout.",
+#if NET_2_0
+ -2147467260);
+#else
+ -2147467259);
+#endif
public CheckoutException()
- : this (null, 0)
+ : base ()
{
}
public CheckoutException (string message)
- : this (message, 0)
+ : base (message)
{
}
: base (message, errorCode)
{
}
+
+#if NET_2_0
+ public CheckoutException (string message, Exception innerException)
+ : base (message, innerException)
+ {
+ }
+
+ protected CheckoutException (SerializationInfo info, StreamingContext context)
+ : base (info, context)
+ {
+ }
+#endif
}
}