public static final class Exceptions.ExceptionDeclarer
extends java.lang.Object
Exceptions.expected()
Modifier and Type | Method and Description |
---|---|
<T extends java.lang.Throwable> |
expected()
This method does nothing but return itself.
|
public <T extends java.lang.Throwable> Exceptions.ExceptionDeclarer expected() throws T extends java.lang.Throwable
T
- the type of exception expectedT
- the exceptionT extends java.lang.Throwable