public class PetStoreOperationsWithFailures extends PetStoreOperations
| Modifier and Type | Field and Description |
|---|---|
static String |
CONNECTION_FAIL |
| Constructor and Description |
|---|
PetStoreOperationsWithFailures() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
failConnection(PetStoreClient client) |
Integer |
failOperationWithException(PetStoreClient client) |
Integer |
failOperationWithThrowable(PetStoreClient client) |
describeSerializedAnimal, failsToReadStream, getBreeder, getCage, getCashier, getClient, getClientOnLatch, getDefaultEncoding, getFishFromRiverStream, getForbiddenPets, getPets, makePhoneCall, setSecureCagepublic static final String CONNECTION_FAIL
public Integer failConnection(@Connection PetStoreClient client) throws org.mule.runtime.api.connection.ConnectionException
org.mule.runtime.api.connection.ConnectionExceptionpublic Integer failOperationWithException(@Connection PetStoreClient client) throws Exception
Exceptionpublic Integer failOperationWithThrowable(@Connection PetStoreClient client) throws Throwable
ThrowableCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.