Class 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 Detail

      • InternalServerException

        public InternalServerException​(String message)
      • InternalServerException

        public InternalServerException​(String message,
                                       Exception cause)
      • InternalServerException

        public InternalServerException​(Exception cause)