org.rococoa.cocoa.syncservices
Class SyncServicesLibrary.ISyncInvalidRecordException
java.lang.Object
org.rococoa.cocoa.syncservices.SyncServicesLibrary.ISyncInvalidRecordException
- Enclosing interface:
- SyncServicesLibrary
public static final class SyncServicesLibrary.ISyncInvalidRecordException
- extends Object
This exception may be thrown during the push phase. It is thrown when the engine detects the client
trying to push "bad" data - bad data being defined as anything which fails a data validation test.
The engine has some built in validators, to check records conform to a schema specification.
I wish I could say the exception will be thrown as soon as a bad record is applied by the client, but
this may not be the case. Some validation checks can only be done when additional context has been
gathered; and for efficiency reasons, the engine may defer processing until a threshold of changes
have been applied.
The userInfo object in the exception contains the list of rejected records and the reasons for each.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SyncServicesLibrary.ISyncInvalidRecordException
public SyncServicesLibrary.ISyncInvalidRecordException()
get
public static SyncServicesLibrary.ISyncInvalidRecordException.ISyncInvalidRecordException_holder get()