mirror of https://github.com/apache/openjpa.git
OPENJPA-344. Build is failing because of this change; changing to use initCause() on the hypothesis that the 1.4 phase of the build does not support a Throwable argument to the constructor.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@571042 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e89b51c4c6
commit
849e10a391
|
@ -228,10 +228,11 @@ public class CacheMarshallerImpl
|
|||
getId(), _inputResourceLocation).getMessage());
|
||||
}
|
||||
} catch (IOException ioe) {
|
||||
throw new IllegalStateException(
|
||||
IllegalStateException ise = new IllegalStateException(
|
||||
_loc.get("cache-marshaller-bad-url", getId(),
|
||||
_inputResourceLocation)
|
||||
.getMessage(), ioe);
|
||||
_inputResourceLocation).getMessage());
|
||||
ise.initCause(ioe);
|
||||
throw ise;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue