public class SyncOperationException extends AccessRuntimeException
SyncOperationException
may be thrown when using ExternalSync API. It is thrown if any RuntimeException
is thrown during ImportOperation#perform()
or ExportOperation#perform()
.ImportOperation.perform(FileSystem)
,
ExportOperation.perform(FileSystem)
,
AccessRuntimeException
,
RuntimeException
,
Serialized FormConstructor and Description |
---|
SyncOperationException() |
Modifier and Type | Method and Description |
---|---|
List<FeatureError> |
getErrors(FeatureError.Level level)
Returns a list of import errors.
|
List<FeatureError> |
getGlobalErrors(FeatureError.Level level)
Returns a list of global import errors.
|
constructContext, getContext, getErrorCode, getLocalizedMessage, isInfoOnly, setErrorCode, setInfo, wrapOrRethrow
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
@NotNull public List<FeatureError> getErrors(@Nullable FeatureError.Level level)
level
- Filter list of returned errors to errors of this level. If null
return all errors andwarnings.@NotNull public List<FeatureError> getGlobalErrors(@Nullable FeatureError.Level level)
level
- Filter list of returned errors to errors of this level. If null
return all errors andwarnings.Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210