public class ThrowsException extends Object implements Answer<Object>, Serializable
Constructor and Description |
---|
ThrowsException(Throwable throwable) |
Modifier and Type | Method and Description |
---|---|
Object |
answer(InvocationOnMock invocation) |
Throwable |
getThrowable() |
public ThrowsException(Throwable throwable)
public Object answer(InvocationOnMock invocation) throws Throwable
public Throwable getThrowable()
Copyright © 2018. All rights reserved.