aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/itmill/toolkit/terminal/web/UIDLTransformerException.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/itmill/toolkit/terminal/web/UIDLTransformerException.java')
-rw-r--r--src/com/itmill/toolkit/terminal/web/UIDLTransformerException.java75
1 files changed, 75 insertions, 0 deletions
diff --git a/src/com/itmill/toolkit/terminal/web/UIDLTransformerException.java b/src/com/itmill/toolkit/terminal/web/UIDLTransformerException.java
new file mode 100644
index 0000000000..96133c0605
--- /dev/null
+++ b/src/com/itmill/toolkit/terminal/web/UIDLTransformerException.java
@@ -0,0 +1,75 @@
+/* *************************************************************************
+
+ IT Mill Toolkit
+
+ Development of Browser User Intarfaces Made Easy
+
+ Copyright (C) 2000-2006 IT Mill Ltd
+
+ *************************************************************************
+
+ This product is distributed under commercial license that can be found
+ from the product package on license/license.txt. Use of this product might
+ require purchasing a commercial license from IT Mill Ltd. For guidelines
+ on usage, see license/licensing-guidelines.html
+
+ *************************************************************************
+
+ For more information, contact:
+
+ IT Mill Ltd phone: +358 2 4802 7180
+ Ruukinkatu 2-4 fax: +358 2 4802 7181
+ 20540, Turku email: info@itmill.com
+ Finland company www: www.itmill.com
+
+ Primary source for information and releases: www.itmill.com
+
+ ********************************************************************** */
+
+package com.itmill.toolkit.terminal.web;
+
+/** Exception in transform process.
+ *
+ * @author IT Mill Ltd.
+ * @version @VERSION@
+ * @since 3.0
+ */
+public class UIDLTransformerException extends java.lang.Exception {
+
+ private String HTMLDescription = null;
+ private Throwable transformException = null;
+
+ /**
+ * Creates a new instance of UIDLTransformerException without detail
+ * message.
+ */
+ public UIDLTransformerException() {
+ }
+
+ /**
+ * Constructs an instance of UIDLTransformerException with the specified
+ * detail message.
+ * @param msg description of exception that occurred
+ * @param te Transform exception that occurred.
+ * @param desc the detailed description.
+ */
+ public UIDLTransformerException(String msg, Throwable te, String desc) {
+ super(msg);
+ this.transformException = te;
+ this.HTMLDescription = desc;
+ }
+ /** Returns the detailed description.
+ * @return Detailed description of exception.
+ */
+ public String getHTMLDescription() {
+ return HTMLDescription;
+ }
+
+ /** Returns the nested transform exception that occurred.
+ * @return Throwable
+ */
+ public Throwable getTransformException() {
+ return transformException;
+ }
+
+}