3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-26 18:45:33 +00:00
z3/src/api/dotnet/Z3Exception.cs
Nikolaj Bjorner 3d37060fa9 remove dependencies on contracts
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-10-20 10:24:36 -07:00

48 lines
817 B
C#

/*++
Copyright (c) 2012 Microsoft Corporation
Module Name:
Exception.cs
Abstract:
Z3 Managed API: Exceptions
Author:
Christoph Wintersteiger (cwinter) 2012-03-15
Notes:
--*/
using System.Diagnostics;
using System;
namespace Microsoft.Z3
{
/// <summary>
/// The exception base class for error reporting from Z3
/// </summary>
#if !DOTNET_CORE
[Serializable]
#endif
public class Z3Exception : Exception
{
/// <summary>
/// Constructor.
/// </summary>
public Z3Exception() : base() { }
/// <summary>
/// Constructor.
/// </summary>
public Z3Exception(string message) : base(message) { }
/// <summary>
/// Constructor.
/// </summary>
public Z3Exception(string message, System.Exception inner) : base(message, inner) { }
}
}