]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/SlcException.java
add some comments to help understanding the approach
[gpl/argeo-slc.git] / runtime / org.argeo.slc.specs / src / main / java / org / argeo / slc / SlcException.java
index 49647d4960e43d240f54f277c117e6eaf2d9653b..331f53b5bc49e89018f86cf2b5d0ae52ba008d38 100644 (file)
@@ -1,8 +1,24 @@
+/*\r
+ * Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>\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
+\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 +26,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