public class E extends Object
| Constructor and Description |
|---|
E() |
| Modifier and Type | Method and Description |
|---|---|
static UnexpectedEncodingException |
encodingException(UnsupportedEncodingException cause) |
static void |
illegalArgumentIf(boolean test) |
static void |
illegalArgumentIf(boolean test,
String msg) |
static void |
illegalArgumentIf(boolean test,
String msg,
Object... args) |
static void |
illegalStateIf(boolean test) |
static void |
illegalStateIf(boolean test,
String msg) |
static void |
illegalStateIf(boolean test,
String msg,
Object... args) |
static InvalidArgException |
invalidArg() |
static InvalidArgException |
invalidArg(String msg,
Object... args) |
static void |
invalidArgIf(boolean test) |
static void |
invalidArgIf(boolean test,
String msg,
Object... args) |
static ConfigurationException |
invalidConfiguration(String message,
Object... args) |
static ConfigurationException |
invalidConfiguration(Throwable cause,
String message,
Object... args) |
static void |
invalidConfigurationIf(boolean tester,
String msg,
Object... args) |
static InvalidRangeException |
invalidRange() |
static InvalidRangeException |
invalidRange(String msg,
Object... args) |
static void |
invalidRangeIf(boolean test) |
static void |
invalidRangeIf(boolean test,
String msg,
Object... args) |
static InvalidStateException |
invalidState() |
static InvalidStateException |
invalidState(String msg,
Object... args) |
static void |
invalidStateIf(boolean tester) |
static void |
invalidStateIf(boolean tester,
String msg,
Object... args) |
static UnexpectedIOException |
ioException(IOException cause) |
static UnexpectedIOException |
ioException(String msg,
Object... args) |
static void |
NPE(boolean tester) |
static void |
NPE(Object o1) |
static void |
NPE(Object o1,
Object o2) |
static void |
NPE(Object o1,
Object o2,
Object o3) |
static void |
NPE(Object o1,
Object o2,
Object o3,
Object... objects)
Throw out NullPointerException if any one of the passed objects is null
|
static void |
npeIf(boolean test) |
static String |
stackTrace(Throwable t) |
static UnsupportedException |
tbd() |
static UnsupportedException |
tbd(String feature) |
static UnexpectedException |
unexpected(String msg,
Object... args) |
static UnexpectedException |
unexpected(Throwable cause) |
static UnexpectedException |
unexpected(Throwable cause,
String msg,
Object... args) |
static void |
unexpectedIf(boolean tester,
String msg,
Object... args) |
static UnsupportedException |
unsupport() |
static UnsupportedException |
unsupport(String msg,
Object... args) |
static void |
unsupportedIf(boolean test) |
static void |
unsupportedIf(boolean test,
String msg,
Object... args) |
public static InvalidStateException invalidState()
public static InvalidStateException invalidState(String msg, Object... args)
public static void invalidStateIf(boolean tester)
public static void NPE(Object o1)
public static void NPE(Object o1, Object o2, Object o3, Object... objects)
o1 - first object to be testedo2 - second object to be testedo3 - third object to be testedobjects - other object instances to be testedpublic static void NPE(boolean tester)
public static UnexpectedException unexpected(String msg, Object... args)
public static UnexpectedException unexpected(Throwable cause)
public static UnexpectedException unexpected(Throwable cause, String msg, Object... args)
public static UnexpectedIOException ioException(IOException cause)
public static UnexpectedIOException ioException(String msg, Object... args)
public static UnexpectedEncodingException encodingException(UnsupportedEncodingException cause)
public static ConfigurationException invalidConfiguration(Throwable cause, String message, Object... args)
public static ConfigurationException invalidConfiguration(String message, Object... args)
public static void invalidConfigurationIf(boolean tester,
String msg,
Object... args)
public static UnsupportedException tbd()
public static UnsupportedException tbd(String feature)
public static UnsupportedException unsupport()
public static UnsupportedException unsupport(String msg, Object... args)
public static InvalidArgException invalidArg()
public static void invalidArgIf(boolean test)
public static InvalidArgException invalidArg(String msg, Object... args)
public static InvalidRangeException invalidRange()
public static void invalidRangeIf(boolean test)
public static InvalidRangeException invalidRange(String msg, Object... args)
public static void npeIf(boolean test)
public static void unsupportedIf(boolean test)
public static void illegalArgumentIf(boolean test)
public static void illegalArgumentIf(boolean test,
String msg)
public static void illegalStateIf(boolean test)
public static void illegalStateIf(boolean test,
String msg)
Copyright © 2017. All Rights Reserved.