From 9e0bf9e7dcce0fc00822449e8c7aabb8e3cc3313 Mon Sep 17 00:00:00 2001 From: Matthias Wessendorf Date: Wed, 14 May 2014 17:40:27 +0200 Subject: [PATCH 1/2] Removing exception ctor that does not work w/ java 6 --- .../api/src/main/java/org/keycloak/models/ModelException.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/model/api/src/main/java/org/keycloak/models/ModelException.java b/model/api/src/main/java/org/keycloak/models/ModelException.java index bbaa40a723..1c2f068dad 100644 --- a/model/api/src/main/java/org/keycloak/models/ModelException.java +++ b/model/api/src/main/java/org/keycloak/models/ModelException.java @@ -20,8 +20,4 @@ public class ModelException extends RuntimeException { super(cause); } - public ModelException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) { - super(message, cause, enableSuppression, writableStackTrace); - } - } From d9c8dedcfb62f17abc8b0ed372e362d58b5d0ecf Mon Sep 17 00:00:00 2001 From: Matthias Wessendorf Date: Wed, 14 May 2014 17:43:36 +0200 Subject: [PATCH 2/2] removing JavaSE6 incompatible ctor --- .../java/org/keycloak/models/ModelDuplicateException.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/model/api/src/main/java/org/keycloak/models/ModelDuplicateException.java b/model/api/src/main/java/org/keycloak/models/ModelDuplicateException.java index be0176b09c..1d6e69aa98 100644 --- a/model/api/src/main/java/org/keycloak/models/ModelDuplicateException.java +++ b/model/api/src/main/java/org/keycloak/models/ModelDuplicateException.java @@ -20,8 +20,4 @@ public class ModelDuplicateException extends ModelException { super(cause); } - public ModelDuplicateException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) { - super(message, cause, enableSuppression, writableStackTrace); - } - }