Package org.projectnessie.error
Class NessieUnsupportedMediaTypeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.projectnessie.error.NessieRuntimeException
-
- org.projectnessie.error.NessieUnsupportedMediaTypeException
-
- All Implemented Interfaces:
java.io.Serializable,ErrorCodeAware
public class NessieUnsupportedMediaTypeException extends NessieRuntimeException
This exception is thrown when the request's media type is not accepted at its specified path.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NessieUnsupportedMediaTypeException(NessieError error)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorCodegetErrorCode()-
Methods inherited from class org.projectnessie.error.NessieRuntimeException
getError
-
-
-
-
Constructor Detail
-
NessieUnsupportedMediaTypeException
public NessieUnsupportedMediaTypeException(NessieError error)
-
-
Method Detail
-
getErrorCode
public ErrorCode getErrorCode()
- Specified by:
getErrorCodein interfaceErrorCodeAware- Overrides:
getErrorCodein classNessieRuntimeException
-
-