|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.sap.ip.me.api.sync.SyncException
Exception which will be thrown in case of any problems while synchronization. To be allow to differentiate between the reasons for this exception without sub-typing, there are some standard messages defined for this exception.
Field Summary | |
static java.lang.String |
CORRUPTED_INBOUND
Message in case of inbound file does not contain the expected data or the inbound file is truncated. |
static java.lang.String |
RECEIVED_EMPTY_INBOUND
Message in case of receiving empty inbound container file. |
static java.lang.String |
RECEIVED_OLD_DATA
Message in case of receiving old inbound data |
static java.lang.String |
RESPONSE_ANOTHER_FAILURE
Message in case of invalid inbound file |
static java.lang.String |
RESPONSE_FUNCTION_MODULE
Message when response received from server didn't contain function module info (prolog does not contain execution time). |
static java.lang.String |
RESPONSE_NOT_AUTHORIZED
Message in case of invalid user data or password |
static java.lang.String |
TRANSPORT_LAYER_HTTP_SYNC_EXCEPTION
Message in case of problems with http |
static java.lang.String |
TRANSPORT_LAYER_SYNC_EXCEPTION
Message in case of problems with data transport layer between client and middleware |
static java.lang.String |
UNREGISTERED_METHOD
Message in case of receiving a container for a method that is not registered. |
static java.lang.String |
WRONG_INBOUND_FORMAT
Message in case of the format of the inbound file is not supported. |
Constructor Summary | |
SyncException(java.lang.String reason)
Constructor for the SyncException object |
Method Summary | |
boolean |
isEmptyInboundReceived()
Returns true iff this exception is caused by an empty inbound
container file |
boolean |
isOldDataReceived()
Returns true iff this exception is caused by old inbound data. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String RESPONSE_ANOTHER_FAILURE
public static final java.lang.String RESPONSE_NOT_AUTHORIZED
public static final java.lang.String RESPONSE_FUNCTION_MODULE
public static final java.lang.String TRANSPORT_LAYER_SYNC_EXCEPTION
public static final java.lang.String TRANSPORT_LAYER_HTTP_SYNC_EXCEPTION
public static final java.lang.String RECEIVED_OLD_DATA
public static final java.lang.String RECEIVED_EMPTY_INBOUND
public static final java.lang.String CORRUPTED_INBOUND
public static final java.lang.String WRONG_INBOUND_FORMAT
public static final java.lang.String UNREGISTERED_METHOD
Constructor Detail |
public SyncException(java.lang.String reason)
reason
- Description of the ParameterMethod Detail |
public boolean isOldDataReceived()
true
iff this exception is caused by old inbound
datapublic boolean isEmptyInboundReceived()
true
iff this exception is caused by an empty inbound
container file
true
iff this exception is caused by an empty
inbound container file
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |