Class EntitySyncContext.SyncServiceErrorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.ofbiz.base.util.GeneralException
-
- org.apache.ofbiz.service.GeneralServiceException
-
- org.apache.ofbiz.entityext.synchronization.EntitySyncContext.SyncErrorException
-
- org.apache.ofbiz.entityext.synchronization.EntitySyncContext.SyncServiceErrorException
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- EntitySyncContext
public static class EntitySyncContext.SyncServiceErrorException extends EntitySyncContext.SyncErrorException
This class signifies an error condition, so the state of the EntitySync value and the EntitySyncHistory value in the datasource should be changed to reflect the error- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.ofbiz.service.GeneralServiceException
errorMsgList, errorMsgMap, nestedServiceResult
-
-
Constructor Summary
Constructors Constructor Description SyncServiceErrorException()
SyncServiceErrorException(java.lang.String str)
SyncServiceErrorException(java.lang.String str, java.lang.Throwable nested)
SyncServiceErrorException(java.lang.String str, java.util.List<java.lang.Object> errorMsgList, java.util.Map<java.lang.String,java.lang.Object> errorMsgMap, java.util.Map<java.lang.String,java.lang.Object> nestedServiceResult, java.lang.Throwable nested)
SyncServiceErrorException(java.lang.Throwable nested)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
saveSyncErrorInfo(EntitySyncContext esc)
-
Methods inherited from class org.apache.ofbiz.service.GeneralServiceException
addErrorMessages, returnError
-
Methods inherited from class org.apache.ofbiz.base.util.GeneralException
checkException, checkException, getMessage, getMessageList, getNested, getNonNestedMessage, printStackTrace, printStackTrace, printStackTrace
-
-
-
-
Constructor Detail
-
SyncServiceErrorException
public SyncServiceErrorException()
-
SyncServiceErrorException
public SyncServiceErrorException(java.lang.String str)
-
SyncServiceErrorException
public SyncServiceErrorException(java.lang.String str, java.lang.Throwable nested)
-
SyncServiceErrorException
public SyncServiceErrorException(java.lang.Throwable nested)
-
SyncServiceErrorException
public SyncServiceErrorException(java.lang.String str, java.util.List<java.lang.Object> errorMsgList, java.util.Map<java.lang.String,java.lang.Object> errorMsgMap, java.util.Map<java.lang.String,java.lang.Object> nestedServiceResult, java.lang.Throwable nested)
-
-
Method Detail
-
saveSyncErrorInfo
public void saveSyncErrorInfo(EntitySyncContext esc)
- Specified by:
saveSyncErrorInfo
in classEntitySyncContext.SyncErrorException
-
-