]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics/src/org/simantics/PlatformException.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics / src / org / simantics / PlatformException.java
index b03f26a9e1d118dee2840c6a9391b5cc23494c78..2bfaa29cc878b4c0337f06b413d092ea47406d37 100644 (file)
@@ -1,76 +1,76 @@
-/*******************************************************************************\r
- * Copyright (c) 2007, 2014 Association for Decentralized Information Management\r
- * in Industry THTH ry.\r
- * All rights reserved. This program and the accompanying materials\r
- * are made available under the terms of the Eclipse Public License v1.0\r
- * which accompanies this distribution, and is available at\r
- * http://www.eclipse.org/legal/epl-v10.html\r
- *\r
- * Contributors:\r
- *     VTT Technical Research Centre of Finland - initial API and implementation\r
- *     Semantum Oy - optional fillStackTrace\r
- *******************************************************************************/\r
-package org.simantics;\r
-\r
-/**\r
- * @author Toni Kalajainen\r
- */\r
-public class PlatformException extends Exception {\r
-\r
-    private static final long serialVersionUID = -2967261259650645038L;\r
-\r
-    private final boolean fillStackTrace;\r
-\r
-    public PlatformException() {\r
-        this(true);\r
-    }\r
-\r
-    public PlatformException(String message) {\r
-        this(message, true);\r
-    }\r
-\r
-    public PlatformException(Throwable cause) {\r
-        this(cause, true);\r
-    }\r
-\r
-    public PlatformException(String message, Throwable cause) {\r
-        this(message, cause, true);\r
-    }\r
-\r
-    /**\r
-     * @since Simantics 1.15\r
-     */\r
-    public PlatformException(boolean fillStackTrace) {\r
-        this.fillStackTrace = fillStackTrace;\r
-    }\r
-\r
-    /**\r
-     * @since Simantics 1.15\r
-     */\r
-    public PlatformException(String message, boolean fillStackTrace) {\r
-        super(message);\r
-        this.fillStackTrace = fillStackTrace;\r
-    }\r
-\r
-    /**\r
-     * @since Simantics 1.15\r
-     */\r
-    public PlatformException(Throwable cause, boolean fillStackTrace) {\r
-        super(cause);\r
-        this.fillStackTrace = fillStackTrace;\r
-    }\r
-\r
-    /**\r
-     * @since Simantics 1.15\r
-     */\r
-    public PlatformException(String message, Throwable cause, boolean fillStackTrace) {\r
-        super(message, cause);\r
-        this.fillStackTrace = fillStackTrace;\r
-    }\r
-\r
-    @Override\r
-    public synchronized Throwable fillInStackTrace() {\r
-        return fillStackTrace ? super.fillInStackTrace() : this;\r
-    }\r
-\r
+/*******************************************************************************
+ * Copyright (c) 2007, 2014 Association for Decentralized Information Management
+ * in Industry THTH ry.
+ * 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:
+ *     VTT Technical Research Centre of Finland - initial API and implementation
+ *     Semantum Oy - optional fillStackTrace
+ *******************************************************************************/
+package org.simantics;
+
+/**
+ * @author Toni Kalajainen
+ */
+public class PlatformException extends Exception {
+
+    private static final long serialVersionUID = -2967261259650645038L;
+
+    private final boolean fillStackTrace;
+
+    public PlatformException() {
+        this(true);
+    }
+
+    public PlatformException(String message) {
+        this(message, true);
+    }
+
+    public PlatformException(Throwable cause) {
+        this(cause, true);
+    }
+
+    public PlatformException(String message, Throwable cause) {
+        this(message, cause, true);
+    }
+
+    /**
+     * @since Simantics 1.15
+     */
+    public PlatformException(boolean fillStackTrace) {
+        this.fillStackTrace = fillStackTrace;
+    }
+
+    /**
+     * @since Simantics 1.15
+     */
+    public PlatformException(String message, boolean fillStackTrace) {
+        super(message);
+        this.fillStackTrace = fillStackTrace;
+    }
+
+    /**
+     * @since Simantics 1.15
+     */
+    public PlatformException(Throwable cause, boolean fillStackTrace) {
+        super(cause);
+        this.fillStackTrace = fillStackTrace;
+    }
+
+    /**
+     * @since Simantics 1.15
+     */
+    public PlatformException(String message, Throwable cause, boolean fillStackTrace) {
+        super(message, cause);
+        this.fillStackTrace = fillStackTrace;
+    }
+
+    @Override
+    public synchronized Throwable fillInStackTrace() {
+        return fillStackTrace ? super.fillInStackTrace() : this;
+    }
+
 }
\ No newline at end of file