1
|
// $Id$
|
2
|
/**
|
3
|
* Copyright (C) 2009 EDIT
|
4
|
* European Distributed Institute of Taxonomy
|
5
|
* http://www.e-taxonomy.eu
|
6
|
*
|
7
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
8
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
9
|
*/
|
10
|
|
11
|
package eu.etaxonomy.dataportal;
|
12
|
|
13
|
public class SystemUtils {
|
14
|
|
15
|
public static void handleInvalidSystemProperty(String propertyName, Exception e) {
|
16
|
throw new RuntimeException("Invalid system property -D" +
|
17
|
propertyName + "=" + System.getProperty(propertyName), e);
|
18
|
}
|
19
|
|
20
|
}
|