Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Problems.GrammaticalOptimization/SharpVectorCore/Events/EventException.cs @ 13757

Last change on this file since 13757 was 12762, checked in by aballeit, 9 years ago

#2283 GUI updates, Tree-chart, MCTS Version 2 (prune leaves)

File size: 770 bytes
Line 
1using System;
2
3namespace SharpVectors.Dom.Events
4{
5  /// <summary>
6  /// Event operations may throw an
7  /// <see cref="EventException">EventException</see> as specified in their
8  /// method descriptions.
9  /// </summary>
10  public class EventException
11    : Exception
12  {
13    #region Private Fields
14   
15    private EventExceptionCode _code;
16   
17    #endregion
18   
19    #region Constructors
20   
21    public EventException(
22      EventExceptionCode code)
23    {
24      _code = code;
25    }
26   
27    #endregion
28   
29    #region Properties
30   
31    #region DOM Level 2
32   
33    /// <summary>
34    /// An integer indicating the type of error generated.
35    /// </summary>
36    public EventExceptionCode Code
37    {
38      get
39      {
40        return _code;
41      }
42    }
43   
44    #endregion
45   
46    #endregion
47  }
48}
Note: See TracBrowser for help on using the repository browser.