~halega/+junk/sharpdevelop

« back to all changes in this revision

Viewing changes to src/AddIns/Misc/Reports/Irony/Scripting/Runtime/RuntimeException.cs

  • Committer: sk
  • Date: 2011-09-10 05:17:57 UTC
  • Revision ID: halega@halega.com-20110910051757-qfouz1llya9m6boy
4.1.0.7915 Release Candidate 1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#region License
 
2
/* **********************************************************************************
 
3
 * Copyright (c) Roman Ivantsov
 
4
 * This source code is subject to terms and conditions of the MIT License
 
5
 * for Irony. A copy of the license can be found in the License.txt file
 
6
 * at the root of this distribution. 
 
7
 * By using this source code in any fashion, you are agreeing to be bound by the terms of the 
 
8
 * MIT License.
 
9
 * You must not remove this notice from this software.
 
10
 * **********************************************************************************/
 
11
#endregion
 
12
 
 
13
using System;
 
14
using System.Collections.Generic;
 
15
using System.Linq;
 
16
using System.Text;
 
17
using Irony.CompilerServices;
 
18
 
 
19
namespace Irony.Scripting.Runtime {
 
20
  public class RuntimeException : Exception {
 
21
    public SourceLocation Location;
 
22
    public RuntimeException(string message) : base(message) {   }
 
23
    public RuntimeException(string message, Exception inner) : base(message, inner) {   }
 
24
    public RuntimeException(string message, Exception inner, SourceLocation location) : base(message, inner) {
 
25
      Location = location;
 
26
    }
 
27
 
 
28
  }
 
29
}