Mercurial > projects > dwt-addons
annotate dwtx/jface/text/templates/TemplateException.d @ 151:eb21d3dfc767
fix module statement
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 24 Aug 2008 23:55:45 +0200 |
parents | 000f9136b8f7 |
children | 1a5b8f8129df |
rev | line source |
---|---|
129 | 1 /******************************************************************************* |
2 * Copyright (c) 2000, 2005 IBM Corporation and others. | |
3 * All rights reserved. This program and the accompanying materials | |
4 * are made available under the terms of the Eclipse Public License v1.0 | |
5 * which accompanies this distribution, and is available at | |
6 * http://www.eclipse.org/legal/epl-v10.html | |
7 * | |
8 * Contributors: | |
9 * IBM Corporation - initial API and implementation | |
10 * Port to the D programming language: | |
11 * Frank Benoit <benoit@tionex.de> | |
12 *******************************************************************************/ | |
13 | |
131 | 14 |
151 | 15 module dwtx.jface.text.templates.TemplateException; |
16 | |
131 | 17 import dwtx.jface.text.templates.SimpleTemplateVariableResolver; // packageimport |
18 import dwtx.jface.text.templates.TemplateBuffer; // packageimport | |
19 import dwtx.jface.text.templates.TemplateContext; // packageimport | |
20 import dwtx.jface.text.templates.TemplateContextType; // packageimport | |
21 import dwtx.jface.text.templates.Template; // packageimport | |
22 import dwtx.jface.text.templates.TemplateVariable; // packageimport | |
23 import dwtx.jface.text.templates.PositionBasedCompletionProposal; // packageimport | |
24 import dwtx.jface.text.templates.TemplateTranslator; // packageimport | |
25 import dwtx.jface.text.templates.DocumentTemplateContext; // packageimport | |
26 import dwtx.jface.text.templates.GlobalTemplateVariables; // packageimport | |
27 import dwtx.jface.text.templates.InclusivePositionUpdater; // packageimport | |
28 import dwtx.jface.text.templates.TemplateProposal; // packageimport | |
29 import dwtx.jface.text.templates.ContextTypeRegistry; // packageimport | |
30 import dwtx.jface.text.templates.JFaceTextTemplateMessages; // packageimport | |
31 import dwtx.jface.text.templates.TemplateCompletionProcessor; // packageimport | |
32 import dwtx.jface.text.templates.TextTemplateMessages; // packageimport | |
33 import dwtx.jface.text.templates.TemplateVariableType; // packageimport | |
34 import dwtx.jface.text.templates.TemplateVariableResolver; // packageimport | |
35 | |
129 | 36 import dwt.dwthelper.utils; |
37 | |
38 | |
39 /** | |
40 * Thrown when a template cannot be validated. | |
41 * <p> | |
42 * Clients may instantiate this class. | |
43 * </p> | |
44 * <p> | |
45 * This class is not intended to be serialized. | |
46 * </p> | |
47 * | |
48 * @since 3.0 | |
49 */ | |
50 public class TemplateException : Exception { | |
51 | |
52 /** | |
53 * Serial version UID for this class. | |
54 * <p> | |
55 * Note: This class is not intended to be serialized. | |
56 * </p> | |
57 * @since 3.1 | |
58 */ | |
147 | 59 private static const long serialVersionUID= 3906362710416699442L; |
129 | 60 |
61 /** | |
62 * Creates a new template exception. | |
63 */ | |
133
7d818bd32d63
Fix ctors to this with gvim regexp
Frank Benoit <benoit@tionex.de>
parents:
131
diff
changeset
|
64 public this() { |
129 | 65 super(); |
66 } | |
67 | |
68 /** | |
69 * Creates a new template exception. | |
70 * | |
71 * @param message the message describing the problem that arose | |
72 */ | |
133
7d818bd32d63
Fix ctors to this with gvim regexp
Frank Benoit <benoit@tionex.de>
parents:
131
diff
changeset
|
73 public this(String message) { |
129 | 74 super(message); |
75 } | |
76 | |
77 /** | |
78 * Creates a new template exception. | |
79 * | |
80 * @param message the message describing the problem that arose | |
81 * @param cause the original exception | |
82 */ | |
133
7d818bd32d63
Fix ctors to this with gvim regexp
Frank Benoit <benoit@tionex.de>
parents:
131
diff
changeset
|
83 public this(String message, Throwable cause) { |
129 | 84 super(message, cause); |
85 } | |
86 | |
87 /** | |
88 * Creates a new template exception. | |
89 * | |
90 * @param cause the original exception | |
91 */ | |
133
7d818bd32d63
Fix ctors to this with gvim regexp
Frank Benoit <benoit@tionex.de>
parents:
131
diff
changeset
|
92 public this(Throwable cause) { |
129 | 93 super(cause); |
94 } | |
95 } |