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:
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.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NessieReferenceConflictException(String message)NessieReferenceConflictException(String message, 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
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
NessieReferenceConflictException
public NessieReferenceConflictException(String message, Throwable cause)
-
NessieReferenceConflictException
public NessieReferenceConflictException(String message)
-
NessieReferenceConflictException
public NessieReferenceConflictException(NessieError error)
-
-
Method Detail
-
getErrorCode
public ErrorCode getErrorCode()
- Specified by:
getErrorCodein interfaceErrorCodeAware- Overrides:
getErrorCodein classBaseNessieClientServerException
-
-