crashanalysercmd/PerfToolsSharedLibraries/Engine/SymbianStackLib/Exceptions/StackAddressException.cs
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 using System; |
|
18 using System.Text; |
|
19 using System.Collections.Generic; |
|
20 using SymbianUtils; |
|
21 using SymbianUtils.Tracer; |
|
22 using SymbianDebugLib.Engine; |
|
23 using SymbianStackLib.Engine; |
|
24 |
|
25 namespace SymbianStackLib.Exceptions |
|
26 { |
|
27 public class StackAddressException : Exception |
|
28 { |
|
29 #region Enumerations |
|
30 public enum TType |
|
31 { |
|
32 ETypeBaseAddressBeforeTopAddress = 0, |
|
33 ETypeTopAddressAfterBaseAddress, |
|
34 ETypePointerIsNull, |
|
35 ETypePointerOutOfBounds |
|
36 } |
|
37 #endregion |
|
38 |
|
39 #region Constructors |
|
40 internal StackAddressException( TType aType ) |
|
41 { |
|
42 iType = aType; |
|
43 } |
|
44 #endregion |
|
45 |
|
46 #region Properties |
|
47 public TType Type |
|
48 { |
|
49 get { return iType; } |
|
50 } |
|
51 #endregion |
|
52 |
|
53 #region Data members |
|
54 private readonly TType iType; |
|
55 #endregion |
|
56 } |
|
57 } |