Package org.projectnessie.error
Class NessieConflictException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.projectnessie.error.BaseNessieClientServerException
-
- org.projectnessie.error.NessieConflictException
-
- All Implemented Interfaces:
Serializable,ErrorCodeAware
- Direct Known Subclasses:
NessieNamespaceAlreadyExistsException,NessieNamespaceNotEmptyException,NessieReferenceAlreadyExistsException,NessieReferenceConflictException
public class NessieConflictException extends BaseNessieClientServerException
Base class for all exceptions that are represented by the HTTPConflictstatus code (409).This exception should not be instantiated directly on the server-side. It may be instantiated and thrown on the client side to represent cases when the server responded with the HTTP
Conflictstatus code, but no fine-grained error information was available.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NessieConflictException(String message)NessieConflictException(String message, Throwable cause)NessieConflictException(NessieError error)
-
Method Summary
-
Methods inherited from class org.projectnessie.error.BaseNessieClientServerException
getErrorCode, getServerStackTrace, getStatus
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
NessieConflictException
public NessieConflictException(String message)
-
NessieConflictException
public NessieConflictException(NessieError error)
-
-