Package org.projectnessie.error
Class NessieContentNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.projectnessie.error.BaseNessieClientServerException
-
- org.projectnessie.error.NessieNotFoundException
-
- org.projectnessie.error.NessieContentNotFoundException
-
- All Implemented Interfaces:
Serializable,ErrorCodeAware
public class NessieContentNotFoundException extends NessieNotFoundException
This exception is thrown when the requested content object is not present in the store.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NessieContentNotFoundException(NessieError error)NessieContentNotFoundException(ContentKey key, String ref)
-
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
-
NessieContentNotFoundException
public NessieContentNotFoundException(ContentKey key, String ref)
-
NessieContentNotFoundException
public NessieContentNotFoundException(NessieError error)
-
-
Method Detail
-
getErrorCode
public ErrorCode getErrorCode()
- Specified by:
getErrorCodein interfaceErrorCodeAware- Overrides:
getErrorCodein classBaseNessieClientServerException
-
-