Package com.github.mizool.core.exception
Class UnprocessableEntityException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.github.mizool.core.exception.AbstractUnprocessableEntityException
-
- com.github.mizool.core.exception.UnprocessableEntityException
-
- All Implemented Interfaces:
Serializable
@Deprecated(forRemoval=true) public class UnprocessableEntityException extends AbstractUnprocessableEntityException
Deprecated, for removal: This API element is subject to removal in a future version.Throwing UnprocessableEntityException doesn't say why the entity is unprocessable and is generally a bad fit as no client ever really has a chance of handling such a response. Instead, consider creating an exception class specific to the respective problem that extendsAbstractUnprocessableEntityException
.Thrown when the entity is syntactically correct (e.g. all non-null properties are set), but could not be processed for semantic reasons (e.g. invalid references to other database entities).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnprocessableEntityException()
Deprecated, for removal: This API element is subject to removal in a future version.UnprocessableEntityException(String message)
Deprecated, for removal: This API element is subject to removal in a future version.UnprocessableEntityException(String message, Throwable cause)
Deprecated, for removal: This API element is subject to removal in a future version.UnprocessableEntityException(Throwable cause)
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UnprocessableEntityException
public UnprocessableEntityException()
Deprecated, for removal: This API element is subject to removal in a future version.
-
UnprocessableEntityException
public UnprocessableEntityException(String message, Throwable cause)
Deprecated, for removal: This API element is subject to removal in a future version.
-
UnprocessableEntityException
public UnprocessableEntityException(String message)
Deprecated, for removal: This API element is subject to removal in a future version.
-
UnprocessableEntityException
public UnprocessableEntityException(Throwable cause)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-