Package org.projectnessie.error
Class NessieNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.projectnessie.error.BaseNessieClientServerException
-
- org.projectnessie.error.NessieNotFoundException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
NessieContentNotFoundException,NessieReferenceNotFoundException
public class NessieNotFoundException extends BaseNessieClientServerException
Base class for all exceptions that are represented by the HTTPNot Foundstatus code (404).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
Not Foundstatus code, but no fine-grained error information was available.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NessieNotFoundException(String message)NessieNotFoundException(String message, Throwable cause)NessieNotFoundException(NessieError error)
-
Method Summary
-
Methods inherited from class org.projectnessie.error.BaseNessieClientServerException
getErrorCode, getReason, getServerStackTrace, getStatus
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
NessieNotFoundException
public NessieNotFoundException(String message)
-
NessieNotFoundException
public NessieNotFoundException(NessieError error)
-
-