org.apache.camel.component.salesforce.api
Class SalesforceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.camel.CamelException
              extended by org.apache.camel.component.salesforce.api.SalesforceException
All Implemented Interfaces:
Serializable

public class SalesforceException
extends org.apache.camel.CamelException

See Also:
Serialized Form

Constructor Summary
SalesforceException(List<RestError> errors, int statusCode)
           
SalesforceException(List<RestError> errors, int statusCode, String message)
           
SalesforceException(List<RestError> errors, int statusCode, String message, Throwable cause)
           
SalesforceException(List<RestError> errors, int statusCode, Throwable cause)
           
SalesforceException(String message, int statusCode)
           
SalesforceException(String message, int statusCode, Throwable cause)
           
SalesforceException(String message, Throwable cause)
           
SalesforceException(Throwable cause)
           
 
Method Summary
 List<RestError> getErrors()
           
 int getStatusCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SalesforceException

public SalesforceException(Throwable cause)

SalesforceException

public SalesforceException(String message,
                           Throwable cause)

SalesforceException

public SalesforceException(String message,
                           int statusCode)

SalesforceException

public SalesforceException(String message,
                           int statusCode,
                           Throwable cause)

SalesforceException

public SalesforceException(List<RestError> errors,
                           int statusCode)

SalesforceException

public SalesforceException(List<RestError> errors,
                           int statusCode,
                           Throwable cause)

SalesforceException

public SalesforceException(List<RestError> errors,
                           int statusCode,
                           String message)

SalesforceException

public SalesforceException(List<RestError> errors,
                           int statusCode,
                           String message,
                           Throwable cause)
Method Detail

getErrors

public List<RestError> getErrors()

getStatusCode

public int getStatusCode()

toString

public String toString()
Overrides:
toString in class Throwable


Apache Camel