org.kefirsf.bb.util
Class Exceptions
java.lang.Object
org.kefirsf.bb.util.Exceptions
public final class Exceptions
- extends Object
Exceptions utils.
- Author:
- kefir
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nullArgument
public static void nullArgument(String name,
Object value)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
emptyArgument
public static <E> void emptyArgument(String name,
Collection<E> value)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
blankArgument
public static void blankArgument(String name,
CharSequence value)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
negativeArgument
public static void negativeArgument(String name,
int offset)
Copyright © 2013. All Rights Reserved.