Record Class DittoError.StoreErrorReason.AttachmentCopyTargetAlreadyExists
java.lang.Object
java.lang.Record
com.ditto.java.DittoError.StoreErrorReason.AttachmentCopyTargetAlreadyExists
- All Implemented Interfaces:
DittoError.StoreErrorReason
- Enclosing interface:
DittoError.StoreErrorReason
public static record DittoError.StoreErrorReason.AttachmentCopyTargetAlreadyExists(@NonNull FileAlreadyExistsException error)
extends Record
implements DittoError.StoreErrorReason
The target file for the attachment copy already exists.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.ditto.java.DittoError.StoreErrorReason
DittoError.StoreErrorReason.AttachmentCopyTargetAlreadyExists, DittoError.StoreErrorReason.AttachmentDataRetrievalError, DittoError.StoreErrorReason.AttachmentFileCopyError, DittoError.StoreErrorReason.AttachmentFileNotFound, DittoError.StoreErrorReason.AttachmentFilePermissionDenied, DittoError.StoreErrorReason.AttachmentNotFound, DittoError.StoreErrorReason.AttachmentTokenInvalid, DittoError.StoreErrorReason.BackendError, DittoError.StoreErrorReason.CrdtError, DittoError.StoreErrorReason.DocumentContentEncodingFailed, DittoError.StoreErrorReason.DocumentNotFound, DittoError.StoreErrorReason.FailedToCopyAttachment, DittoError.StoreErrorReason.FailedToCreateAttachment, DittoError.StoreErrorReason.FailedToDecodeCounter, DittoError.StoreErrorReason.FailedToDecodeData, DittoError.StoreErrorReason.FailedToDecodeDocument, DittoError.StoreErrorReason.FailedToDecodeValue, DittoError.StoreErrorReason.FailedToEncodeValue, DittoError.StoreErrorReason.FailedToFetchAttachment, DittoError.StoreErrorReason.FailedToGetDocumentData, DittoError.StoreErrorReason.FailedToGetDocumentIDData, DittoError.StoreErrorReason.FailedToInitializeDittoDirectory, DittoError.StoreErrorReason.InvalidCrdtType, DittoError.StoreErrorReason.InvalidDocumentStructure, DittoError.StoreErrorReason.InvalidLiveQueryId, DittoError.StoreErrorReason.InvalidValueForCrdt, DittoError.StoreErrorReason.NoIdPresentInDocument, DittoError.StoreErrorReason.NonStringKeyInDocument, DittoError.StoreErrorReason.QueryArgumentsInvalid, DittoError.StoreErrorReason.QueryCompilationFailed, DittoError.StoreErrorReason.QueryError, DittoError.StoreErrorReason.QueryInvalid, DittoError.StoreErrorReason.QueryNotSupported -
Constructor Summary
ConstructorsConstructorDescriptionAttachmentCopyTargetAlreadyExists(@NonNull FileAlreadyExistsException error) Creates an instance of aAttachmentCopyTargetAlreadyExistsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.@NonNull FileAlreadyExistsExceptionerror()Returns the value of theerrorrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AttachmentCopyTargetAlreadyExists
Creates an instance of aAttachmentCopyTargetAlreadyExistsrecord class.- Parameters:
error- the value for theerrorrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
error
Returns the value of theerrorrecord component.- Returns:
- the value of the
errorrecord component
-