X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=runtime%2Forg.argeo.slc.specs%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2FSlcException.java;h=408bd06df5d13d4ad94a6d6e522e11c9c5929121;hb=5187ffaff5610275cf3dbc5fb913f59126576da8;hp=49647d4960e43d240f54f277c117e6eaf2d9653b;hpb=2f57b9abf7e5110603e8cf952259509c76c9a162;p=gpl%2Fargeo-slc.git diff --git a/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/SlcException.java b/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/SlcException.java index 49647d496..408bd06df 100644 --- a/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/SlcException.java +++ b/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/SlcException.java @@ -1,8 +1,23 @@ +/* + * Copyright (C) 2007-2012 Argeo GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.argeo.slc; /** Basis for all SLC exceptions. This is an unchecked exception. */ public class SlcException extends RuntimeException { - static final long serialVersionUID = 1l; + private static final long serialVersionUID = 6373738619304106445L; /** Constructor. */ public SlcException(String message) { @@ -10,8 +25,8 @@ public class SlcException extends RuntimeException { } /** Constructor. */ - public SlcException(String message, Throwable cause) { - super(message, cause); + public SlcException(String message, Throwable e) { + super(message, e); } }