| java.lang.Object |
| ↳ |
org.mule.modules.salesforce.api.SalesforceExceptionHandlerAdapter |
Class Overview
Centralized handler for Salesforce exceptions, to check if a reconnection exception has to be thrown
Summary
| Fields |
|
private
static
Logger |
logger |
|
| Public Methods |
|
static
Exception
|
analyzeRestException(Exception e)
Returns a concrete exception to be thrown by analyzing the parametrized one
|
|
static
Exception
|
analyzeSoapException(Exception e)
Returns a concrete exception to be thrown by analyzing the parametrized one
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
Fields
private
static
Logger
logger
Public Constructors
public
SalesforceExceptionHandlerAdapter
()
Public Methods
public
static
Exception
analyzeRestException
(Exception e)
Returns a concrete exception to be thrown by analyzing the parametrized one
Parameters
| e
| Exception to be analyzed |
Returns
SalesforceSessionExpiredException if the parametrized
exception e indicates that the session has been invalidated, otherwise will return the same exception it
received without any change.
public
static
Exception
analyzeSoapException
(Exception e)
Returns a concrete exception to be thrown by analyzing the parametrized one
Parameters
| e
| Exception to be analyzed |
Returns
SalesforceSessionExpiredException if the parametrized
exception e indicates that the session has been invalidated, otherwise will return a
RuntimeException with the parametrized exception as cause.