Package org.projectnessie.client.rest
Class NessieServiceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.projectnessie.client.rest.NessieServiceException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
NessieBackendThrottledException,NessieBadRequestException,NessieForbiddenException,NessieInternalServerException,NessieNotAuthorizedException
public class NessieServiceException extends RuntimeException
A Nessie REST API runtime exception.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NessieServiceException(NessieError error)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NessieErrorgetError()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
NessieServiceException
public NessieServiceException(NessieError error)
-
-
Method Detail
-
getError
public NessieError getError()
-
-