org.gcube.data.tml
Class Utils
java.lang.Object
org.gcube.data.tml.Utils
public class Utils
- extends Object
Library-wide utilities.
- Author:
- Fabio Simeoni
|
Constructor Summary |
Utils()
|
|
Method Summary |
static void |
notNull(String name,
Object value)
Checks that the input is not null |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Utils
public Utils()
notNull
public static void notNull(String name,
Object value)
throws IllegalArgumentException
- Checks that the input is not
null
- Parameters:
name - the name of the value to report in error messagesvalue - the value
- Throws:
IllegalArgumentException - if the value is null
Copyright © 2014. All Rights Reserved.