/// <summary> /// Constructor with ExceptionLevel, HttpStatusCode, message and innerException. /// </summary> /// <param name="level">ExceptionLevel enumerator</param> /// <param name="statusCode">HttpStatusCode enum</param> /// <param name="message">Text message to be included in log.</param> /// <param name="inner">Inner exception</param> public AppleseedException(Appleseed.Framework.LogLevel level, HttpStatusCode statusCode, string message, Exception inner) : base(message, inner) { _level = level; _statusCode = statusCode; }
/// <summary> /// Constructor with ExceptionLevel, message and innerException. /// </summary> /// <param name="level">ExceptionLevel enum</param> /// <param name="message">Text message to be included in log.</param> /// <param name="inner">Inner exception</param> public AppleseedException(Appleseed.Framework.LogLevel level, string message, Exception inner) : base(message, inner) { _level = level; }