Package org.projectnessie.error
Class NessieReferenceConflictException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.projectnessie.error.BaseNessieClientServerException
-
- org.projectnessie.error.NessieConflictException
-
- org.projectnessie.error.NessieReferenceConflictException
-
- All Implemented Interfaces:
java.io.Serializable,ErrorCodeAware
public class NessieReferenceConflictException extends NessieConflictException
This exception is thrown when the expected state of a reference (e.g. the hash of the HEAD of a branch) does not match the hash provided by the caller or when the requested operation could not be completed within the configured time and number of retries due to concurrent operations.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NessieReferenceConflictException(java.lang.String message)NessieReferenceConflictException(java.lang.String message, java.lang.Throwable cause)NessieReferenceConflictException(NessieError error)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorCodegetErrorCode()-
Methods inherited from class org.projectnessie.error.BaseNessieClientServerException
getServerStackTrace, getStatus
-
-
-
-
Constructor Detail
-
NessieReferenceConflictException
public NessieReferenceConflictException(java.lang.String message, java.lang.Throwable cause)
-
NessieReferenceConflictException
public NessieReferenceConflictException(java.lang.String message)
-
NessieReferenceConflictException
public NessieReferenceConflictException(NessieError error)
-
-
Method Detail
-
getErrorCode
public ErrorCode getErrorCode()
- Specified by:
getErrorCodein interfaceErrorCodeAware- Overrides:
getErrorCodein classBaseNessieClientServerException
-
-