Package org.apache.metamodel.salesforce
Class SalesforceUtils
- java.lang.Object
-
- org.apache.metamodel.salesforce.SalesforceUtils
-
public class SalesforceUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description SalesforceUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IllegalStateExceptionwrapException(com.sforce.ws.ConnectionException e, String whatWentWrong)Wraps a checked exception thrown by Salesforce into anIllegalStateExceptionwith a useful message.
-
-
-
Method Detail
-
wrapException
public static IllegalStateException wrapException(com.sforce.ws.ConnectionException e, String whatWentWrong)
Wraps a checked exception thrown by Salesforce into anIllegalStateExceptionwith a useful message.- Parameters:
e-whatWentWrong-- Returns:
-
-