X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;ds=sidebyside;f=runtime%2Forg.argeo.slc.specs%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2FSlcException.java;h=fc595b1b9684dc607b547902a15d944095a9c2a3;hb=6701dca2d857462db94fc1c367c1d41247be91e4;hp=6a10746d503a903d83d22d1a6bdb4845108f025d;hpb=1fdb1b4e7b1d2b0cabb6483238301b857a6392fa;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 6a10746d5..fc595b1b9 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,5 +1,5 @@ /* - * Copyright (C) 2010 Mathieu Baudier + * Copyright (C) 2007-2012 Mathieu Baudier * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,12 +13,11 @@ * 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) { @@ -26,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); } }