Class SyncOperationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.espirit.common.UncheckedException
de.espirit.firstspirit.access.AccessRuntimeException
de.espirit.firstspirit.store.access.nexport.exceptions.SyncOperationException
- All Implemented Interfaces:
LocalizableError
,Serializable
This
SyncOperationException
may be thrown when using ExternalSync API. It is thrown if any RuntimeException
is thrown during ImportOperation#perform()
or ExportOperation#perform()
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull List<FeatureError>
getErrors
(FeatureError.Level level) Returns a list of import errors.@NotNull List<FeatureError>
Returns a list of global import errors.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SyncOperationException
public SyncOperationException()
-
-
Method Details
-
getErrors
Returns a list of import errors.- Parameters:
level
- Filter list of returned errors to errors of this level. Ifnull
return all errors andwarnings.- Since:
- 5.2.1403
-
getGlobalErrors
Returns a list of global import errors.- Parameters:
level
- Filter list of returned errors to errors of this level. Ifnull
return all errors andwarnings.- Since:
- 5.2.1403
-