Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Ferguson2007-06-18 12:50:24 +0000
committerAndrew Ferguson2007-06-18 12:50:24 +0000
commit38595a611fb85b9b345d7c9ec38617776c83f35f (patch)
tree0c33cbf1a4264bae37c2b90fbafdca456761eb6f /core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/TemplateInitializationException.java
parenteecd9b3834ee7e45ac4c6f81006e152e12100e9b (diff)
downloadorg.eclipse.cdt-38595a611fb85b9b345d7c9ec38617776c83f35f.tar.gz
org.eclipse.cdt-38595a611fb85b9b345d7c9ec38617776c83f35f.tar.xz
org.eclipse.cdt-38595a611fb85b9b345d7c9ec38617776c83f35f.zip
improve error handling in order to determine why some unit tests are failing on overnight build
Diffstat (limited to 'core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/TemplateInitializationException.java')
-rw-r--r--core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/TemplateInitializationException.java33
1 files changed, 33 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/TemplateInitializationException.java b/core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/TemplateInitializationException.java
new file mode 100644
index 00000000000..56b8ae8b4cb
--- /dev/null
+++ b/core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/TemplateInitializationException.java
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Symbian Software Limited and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Andrew Ferguson (Symbian) - Initial API and implementation
+ *******************************************************************************/
+package org.eclipse.cdt.core.templateengine;
+
+
+/**
+ * Represents an exception in initializing a template. Typically this will be caused
+ * by an I/O or XML parsing failure.
+ */
+public class TemplateInitializationException extends Exception {
+ private static final long serialVersionUID = -8138820172406447119L;
+
+ public TemplateInitializationException() {
+ super();
+ }
+
+ public TemplateInitializationException(String message) {
+ super(message);
+ }
+
+ public TemplateInitializationException(String message, Throwable cause) {
+ super(message);
+ initCause(cause);
+ }
+}

Back to the top