Package org.projectnessie.error
Class NessieNamespaceAlreadyExistsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.projectnessie.error.BaseNessieClientServerException
-
- org.projectnessie.error.NessieConflictException
-
- org.projectnessie.error.NessieNamespaceAlreadyExistsException
-
- All Implemented Interfaces:
java.io.Serializable,ErrorCodeAware
public class NessieNamespaceAlreadyExistsException extends NessieConflictException
This exception is thrown when the namespace with the same name already exists.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NessieNamespaceAlreadyExistsException(java.lang.String message)NessieNamespaceAlreadyExistsException(java.lang.String message, java.lang.Throwable cause)NessieNamespaceAlreadyExistsException(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
-
NessieNamespaceAlreadyExistsException
public NessieNamespaceAlreadyExistsException(java.lang.String message, java.lang.Throwable cause)
-
NessieNamespaceAlreadyExistsException
public NessieNamespaceAlreadyExistsException(java.lang.String message)
-
NessieNamespaceAlreadyExistsException
public NessieNamespaceAlreadyExistsException(NessieError error)
-
-
Method Detail
-
getErrorCode
public ErrorCode getErrorCode()
- Specified by:
getErrorCodein interfaceErrorCodeAware- Overrides:
getErrorCodein classBaseNessieClientServerException
-
-