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:
  • Constructor Details

    • InternalServerException

      public InternalServerException(String message)
    • InternalServerException

      public InternalServerException(String message, Throwable cause)
    • InternalServerException

      public InternalServerException(Throwable cause)