[java-support] branch master updated: Add catch for IllegalArgumentException on bad encoded data.
Scott Cantor
cantor.2 at osu.edu
Tue Dec 3 16:08:40 EST 2019
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch master
in repository java-support.
View the commit online:
http://git.shibboleth.net/view/?p=java-support.git;a=commit;h=2c34093672b57c8726ffbacc7a07f58701895595
The following commit(s) were added to refs/heads/master by this push:
new 2c34093 Add catch for IllegalArgumentException on bad encoded data.
2c34093 is described below
commit 2c34093672b57c8726ffbacc7a07f58701895595
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Dec 3 16:05:34 2019 -0500
Add catch for IllegalArgumentException on bad encoded data.
---
.../java/net/shibboleth/utilities/java/support/security/DataSealer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/net/shibboleth/utilities/java/support/security/DataSealer.java b/src/main/java/net/shibboleth/utilities/java/support/security/DataSealer.java
index cbd8d60..002e966 100644
--- a/src/main/java/net/shibboleth/utilities/java/support/security/DataSealer.java
+++ b/src/main/java/net/shibboleth/utilities/java/support/security/DataSealer.java
@@ -247,7 +247,7 @@ public class DataSealer extends AbstractInitializableComponent {
} catch (final KeyException e) {
log.error(e.getMessage());
throw new DataSealerException("Exception loading key", e);
- } catch (final GeneralSecurityException | IOException | DecoderException e) {
+ } catch (final GeneralSecurityException | IOException | DecoderException | IllegalArgumentException e) {
log.error("Exception unwrapping data", e);
throw new DataSealerException("Exception unwrapping data", e);
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list