]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/SlcException.java
Start new SLC project structure
[gpl/argeo-slc.git] / runtime / org.argeo.slc.specs / src / main / java / org / argeo / slc / SlcException.java
index 49647d4960e43d240f54f277c117e6eaf2d9653b..408bd06df5d13d4ad94a6d6e522e11c9c5929121 100644 (file)
@@ -1,8 +1,23 @@
+/*\r
+ * Copyright (C) 2007-2012 Argeo GmbH\r
+ *\r
+ * Licensed under the Apache License, Version 2.0 (the "License");\r
+ * you may not use this file except in compliance with the License.\r
+ * You may obtain a copy of the License at\r
+ *\r
+ *         http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ * Unless required by applicable law or agreed to in writing, software\r
+ * distributed under the License is distributed on an "AS IS" BASIS,\r
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ * See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ */\r
 package org.argeo.slc;\r
 \r
 /** Basis for all SLC exceptions. This is an unchecked exception. */\r
 public class SlcException extends RuntimeException {\r
-       static final long serialVersionUID = 1l;\r
+       private static final long serialVersionUID = 6373738619304106445L;\r
 \r
        /** Constructor. */\r
        public SlcException(String message) {\r
@@ -10,8 +25,8 @@ public class SlcException extends RuntimeException {
        }\r
 \r
        /** Constructor. */\r
-       public SlcException(String message, Throwable cause) {\r
-               super(message, cause);\r
+       public SlcException(String message, Throwable e) {\r
+               super(message, e);\r
        }\r
 \r
 }\r