org.apache.metamodel.salesforce
Class SalesforceUtils

java.lang.Object
  extended by org.apache.metamodel.salesforce.SalesforceUtils

public class SalesforceUtils
extends Object


Constructor Summary
SalesforceUtils()
           
 
Method Summary
static IllegalStateException wrapException(com.sforce.ws.ConnectionException e, String whatWentWrong)
          Wraps a checked exception thrown by Salesforce into an IllegalStateException with a useful message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SalesforceUtils

public SalesforceUtils()
Method Detail

wrapException

public static IllegalStateException wrapException(com.sforce.ws.ConnectionException e,
                                                  String whatWentWrong)
Wraps a checked exception thrown by Salesforce into an IllegalStateException with a useful message.

Parameters:
e -
whatWentWrong -
Returns:


Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.