Package org.ehrbase.api.exception
Class InternalServerException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.ehrbase.api.exception.InternalServerException
-
- All Implemented Interfaces:
Serializable
public class InternalServerException extends RuntimeException
Project-custom exception that allows outbound APIs to react on backend problems. Shall be thrown to invoke status 500 "Internal Server Error" or whatever is appropriate. All exceptions not covered by offered exceptions in this package. Should include internal error message.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InternalServerException(Exception cause)InternalServerException(String message)InternalServerException(String message, Exception cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-