Package org.projectnessie.error
Class NessieRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.projectnessie.error.NessieRuntimeException
-
- All Implemented Interfaces:
java.io.Serializable,ErrorCodeAware
- Direct Known Subclasses:
NessieBackendThrottledException,NessieBadRequestException,NessieForbiddenException,NessieUnsupportedMediaTypeException
public class NessieRuntimeException extends java.lang.RuntimeException implements ErrorCodeAware
Represents unchecked exceptions raised by Nessie API endpoints.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NessieRuntimeException(NessieError error)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NessieErrorgetError()ErrorCodegetErrorCode()
-
-
-
Constructor Detail
-
NessieRuntimeException
public NessieRuntimeException(NessieError error)
-
-
Method Detail
-
getError
public NessieError getError()
-
getErrorCode
public ErrorCode getErrorCode()
- Specified by:
getErrorCodein interfaceErrorCodeAware
-
-