Package org.ehrbase.api.exception
Class UnprocessableEntityException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.ehrbase.api.exception.UnprocessableEntityException
-
- All Implemented Interfaces:
Serializable
public class UnprocessableEntityException extends RuntimeException
Project-custom exception that allows outbound APIs to react on backend problems. Shall be thrown to invoke status 422 "Unprocessable Entity" or whatever is appropriate.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnprocessableEntityException(String message)
-
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(String message)
-
-