summaryrefslogtreecommitdiffstats
path: root/qadevOOo/runner/lib
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-06-09 15:24:08 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-06-11 12:52:06 +0000
commit3bd57cc2c0cabf33799edc57d3dd1c90c7857ecd (patch)
tree353a2b569d3acb9efa06ee4edf0178dd04ede9f8 /qadevOOo/runner/lib
parentSdrCustomShapeEngine/DataItem are just SfxStringItem (diff)
downloadcore-3bd57cc2c0cabf33799edc57d3dd1c90c7857ecd.tar.gz
core-3bd57cc2c0cabf33799edc57d3dd1c90c7857ecd.zip
java:remove more unnecessary catch/re-throw
Change-Id: Id9a13c7f4ae0fd53c95c551544e60af44bb3fb95 Reviewed-on: https://gerrit.libreoffice.org/16203 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'qadevOOo/runner/lib')
-rw-r--r--qadevOOo/runner/lib/MultiMethodTest.java2
-rw-r--r--qadevOOo/runner/lib/TestCase.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/qadevOOo/runner/lib/MultiMethodTest.java b/qadevOOo/runner/lib/MultiMethodTest.java
index ab2dd9630940..96adacd3e0cc 100644
--- a/qadevOOo/runner/lib/MultiMethodTest.java
+++ b/qadevOOo/runner/lib/MultiMethodTest.java
@@ -243,7 +243,7 @@ public class MultiMethodTest
* Is called before calling method tests, but after initialization.
* Subclasses may override to perform actions before method tests.
*/
- protected void before()
+ protected void before() throws Exception
{
}
diff --git a/qadevOOo/runner/lib/TestCase.java b/qadevOOo/runner/lib/TestCase.java
index 3a3d7e9c9467..e68eff62e15e 100644
--- a/qadevOOo/runner/lib/TestCase.java
+++ b/qadevOOo/runner/lib/TestCase.java
@@ -63,7 +63,7 @@ public abstract class TestCase {
*
* @param tParam test parameters.
*/
- public final void initializeTestCase( TestParameters tParam ) {
+ public final void initializeTestCase( TestParameters tParam ) throws Exception {
initialize( tParam, log );
}
@@ -77,7 +77,7 @@ public abstract class TestCase {
*
* @see #initializeTestCase
*/
- protected void initialize( TestParameters tParam, PrintWriter log ) {
+ protected void initialize( TestParameters tParam, PrintWriter log ) throws Exception {
}