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
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.projectnessie.error.ErrorCodeAware
getErrorDetails
-
-
-
-
Constructor Detail
-
NessieUnsupportedMediaTypeException
public NessieUnsupportedMediaTypeException(NessieError error)
-
-
Method Detail
-
getErrorCode
public ErrorCode getErrorCode()
- Specified by:
getErrorCodein interfaceErrorCodeAware- Overrides:
getErrorCodein classNessieRuntimeException
-
-