org.gcube.common.ghn.service.utils
Class Utils
java.lang.Object
org.gcube.common.ghn.service.utils.Utils
public class Utils
- extends Object
|
Constructor Summary |
Utils()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Utils
public Utils()
unchecked
public static RuntimeException unchecked(Throwable t)
valid
public static void valid(String name,
Object[] o)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
notNull
public static void notNull(Object[] o)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
notNull
public static void notNull(String name,
Object o)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
notEmpty
public static void notEmpty(String name,
String o)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
notEmpty
public static void notEmpty(String name,
Object[] o)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
valid
public static void valid(String name,
String o)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
Copyright © 2013. All Rights Reserved.