diff --git a/src/de/pangaea/metadataportal/harvester/RetryAfterIOException.java b/src/de/pangaea/metadataportal/harvester/RetryAfterIOException.java index e4546c6..65af27f 100644 --- a/src/de/pangaea/metadataportal/harvester/RetryAfterIOException.java +++ b/src/de/pangaea/metadataportal/harvester/RetryAfterIOException.java @@ -47,7 +47,7 @@ public int getRetryAfter() { @Override public IOException getCause() { - return (IOException) getCause(); + return (IOException) super.getCause(); } private int retryAfter;