Package com.github.mizool.core.exception
Class AbstractUnprocessableEntityException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.github.mizool.core.exception.AbstractUnprocessableEntityException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
GeneratedFieldOverrideException
,InvalidPrimaryKeyException
,ReadonlyFieldException
,UnprocessableEntityException
public abstract class AbstractUnprocessableEntityException extends RuntimeException
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). Extend this class to create an exception class specific to the respective problem.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractUnprocessableEntityException()
protected
AbstractUnprocessableEntityException(String message)
protected
AbstractUnprocessableEntityException(String message, Throwable cause)
protected
AbstractUnprocessableEntityException(Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AbstractUnprocessableEntityException
protected AbstractUnprocessableEntityException()
-
AbstractUnprocessableEntityException
protected AbstractUnprocessableEntityException(String message, Throwable cause)
-
AbstractUnprocessableEntityException
protected AbstractUnprocessableEntityException(String message)
-
AbstractUnprocessableEntityException
protected AbstractUnprocessableEntityException(Throwable cause)
-
-