Record Class DittoException.StoreExceptionReason.AttachmentCopyTargetAlreadyExists
java.lang.Object
java.lang.Record
com.ditto.java.DittoException.StoreExceptionReason.AttachmentCopyTargetAlreadyExists
- All Implemented Interfaces:
DittoException.StoreExceptionReason
- Enclosing interface:
DittoException.StoreExceptionReason
public static record DittoException.StoreExceptionReason.AttachmentCopyTargetAlreadyExists(@Nullable Throwable error)
extends Record
implements DittoException.StoreExceptionReason
The target file for the attachment copy already exists.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.ditto.java.DittoException.StoreExceptionReason
DittoException.StoreExceptionReason.AttachmentCopyTargetAlreadyExists, DittoException.StoreExceptionReason.AttachmentDataRetrievalError, DittoException.StoreExceptionReason.AttachmentFileCopyError, DittoException.StoreExceptionReason.AttachmentFileNotFound, DittoException.StoreExceptionReason.AttachmentFilePermissionDenied, DittoException.StoreExceptionReason.AttachmentNotFound, DittoException.StoreExceptionReason.AttachmentTokenInvalid, DittoException.StoreExceptionReason.BackendError, DittoException.StoreExceptionReason.CrdtError, DittoException.StoreExceptionReason.DocumentContentEncodingFailed, DittoException.StoreExceptionReason.DocumentNotFound, DittoException.StoreExceptionReason.FailedToCopyAttachment, DittoException.StoreExceptionReason.FailedToCreateAttachment, DittoException.StoreExceptionReason.FailedToDecodeCounter, DittoException.StoreExceptionReason.FailedToDecodeData, DittoException.StoreExceptionReason.FailedToDecodeDocument, DittoException.StoreExceptionReason.FailedToDecodeValue, DittoException.StoreExceptionReason.FailedToEncodeValue, DittoException.StoreExceptionReason.FailedToFetchAttachment, DittoException.StoreExceptionReason.FailedToGetDocumentData, DittoException.StoreExceptionReason.FailedToGetDocumentIDData, DittoException.StoreExceptionReason.FailedToInitializeDittoDirectory, DittoException.StoreExceptionReason.InvalidCrdtType, DittoException.StoreExceptionReason.InvalidDocumentStructure, DittoException.StoreExceptionReason.InvalidLiveQueryId, DittoException.StoreExceptionReason.InvalidValueForCrdt, DittoException.StoreExceptionReason.NoIdPresentInDocument, DittoException.StoreExceptionReason.NonStringKeyInDocument, DittoException.StoreExceptionReason.PersistenceDirectoryLocked, DittoException.StoreExceptionReason.QueryArgumentsInvalid, DittoException.StoreExceptionReason.QueryCompilationFailed, DittoException.StoreExceptionReason.QueryError, DittoException.StoreExceptionReason.QueryInvalid, DittoException.StoreExceptionReason.QueryNotSupported, DittoException.StoreExceptionReason.TransactionReadOnly -
Constructor Summary
ConstructorsConstructorDescriptionAttachmentCopyTargetAlreadyExists(@Nullable Throwable error) Creates an instance of aAttachmentCopyTargetAlreadyExistsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.@Nullable Throwableerror()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
-