public class Inject extends Object
| Constructor and Description |
|---|
Inject() |
| Modifier and Type | Method and Description |
|---|---|
void |
delay(String inputSeconds)
Delay the response
|
void |
fault(String inputException)
Raise the exception from the passed fully qualified name.
|
public void delay(String inputSeconds)
inputSeconds - delay in secondspublic void fault(String inputException) throws Exception
inputException - name of the exception to throw (e.g java.lang.Exception)ChaosMiddlewareError - error requested by the userExceptionCopyright © 2020. All rights reserved.