Class EntitySyncContext.SyncDataErrorException
- 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.SyncDataErrorException
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- EntitySyncContext
public static class EntitySyncContext.SyncDataErrorException 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 SyncDataErrorException()
SyncDataErrorException(java.lang.String str)
SyncDataErrorException(java.lang.String str, java.lang.Throwable nested)
SyncDataErrorException(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)
SyncDataErrorException(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
-
SyncDataErrorException
public SyncDataErrorException()
-
SyncDataErrorException
public SyncDataErrorException(java.lang.String str)
-
SyncDataErrorException
public SyncDataErrorException(java.lang.String str, java.lang.Throwable nested)
-
SyncDataErrorException
public SyncDataErrorException(java.lang.Throwable nested)
-
SyncDataErrorException
public SyncDataErrorException(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
-
-