You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2014/12/23 18:59:09 UTC
[13/15] jena git commit: Add NumberFormatException as possible
expected exception.
Add NumberFormatException as possible expected exception.
Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/f5a2047e
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/f5a2047e
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/f5a2047e
Branch: refs/heads/master
Commit: f5a2047e33d110a6c856cb484ece4be856607bf9
Parents: 6a63e14
Author: Andy Seaborne <an...@apache.org>
Authored: Tue Dec 23 17:43:53 2014 +0000
Committer: Andy Seaborne <an...@apache.org>
Committed: Tue Dec 23 17:43:53 2014 +0000
----------------------------------------------------------------------
.../apache/jena/security/model/SecuredLiteralTest.java | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/jena/blob/f5a2047e/jena-security/src/test/java/org/apache/jena/security/model/SecuredLiteralTest.java
----------------------------------------------------------------------
diff --git a/jena-security/src/test/java/org/apache/jena/security/model/SecuredLiteralTest.java b/jena-security/src/test/java/org/apache/jena/security/model/SecuredLiteralTest.java
index 1985d8b..97ec072 100644
--- a/jena-security/src/test/java/org/apache/jena/security/model/SecuredLiteralTest.java
+++ b/jena-security/src/test/java/org/apache/jena/security/model/SecuredLiteralTest.java
@@ -268,7 +268,7 @@ public class SecuredLiteralTest extends SecuredRDFNodeTest
e, e.getTriple()));
}
}
- catch (final DatatypeFormatException e)
+ catch (final DatatypeFormatException | NumberFormatException e )
{
// expected
}
@@ -294,7 +294,7 @@ public class SecuredLiteralTest extends SecuredRDFNodeTest
e, e.getTriple()));
}
}
- catch (final DatatypeFormatException e)
+ catch (final DatatypeFormatException | NumberFormatException e )
{
// expected
}
@@ -364,7 +364,7 @@ public class SecuredLiteralTest extends SecuredRDFNodeTest
e, e.getTriple()));
}
}
- catch (final DatatypeFormatException e)
+ catch (final DatatypeFormatException | NumberFormatException e )
{
// expected
}
@@ -390,7 +390,7 @@ public class SecuredLiteralTest extends SecuredRDFNodeTest
e, e.getTriple()));
}
}
- catch (final DatatypeFormatException e)
+ catch (final DatatypeFormatException | NumberFormatException e )
{
// expected
}
@@ -416,7 +416,7 @@ public class SecuredLiteralTest extends SecuredRDFNodeTest
e, e.getTriple()));
}
}
- catch (final DatatypeFormatException e)
+ catch (final DatatypeFormatException | NumberFormatException e )
{
// expected
}