public class SalesforceUtils extends Object
Constructor and Description |
---|
SalesforceUtils() |
Modifier and Type | Method and Description |
---|---|
static IllegalStateException |
wrapException(com.sforce.ws.ConnectionException e,
String whatWentWrong)
Wraps a checked exception thrown by Salesforce into an
IllegalStateException with a useful message. |
public static IllegalStateException wrapException(com.sforce.ws.ConnectionException e, String whatWentWrong)
IllegalStateException
with a useful message.e
- whatWentWrong
- Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.