public ResponseEntity HandleInternalServerErrorException(InternalServerErrorException exception)
        {
            var toReturn = ExceptionData.MakeExceptionData("An internal server error has occured", exception);
            var entity   = new ResponseEntity(toReturn, Headers, exception.Status);

            return(entity);
        }
        public ResponseEntity HandleAbstractServerException(AbstractServerException exception)
        {
            var toReturn = ExceptionData.MakeExceptionData("No valid error handling available", exception);
            var entity   = new ResponseEntity(toReturn, Headers, exception.Status);

            return(entity);
        }
        public ResponseEntity HandleServerRequestMethodNotSupportedException(ServerRequestMethodNotSupportedException exception)
        {
            var toReturn = ExceptionData.MakeExceptionData("HTTP Method not supported", exception);

            return(new ResponseEntity(toReturn, Headers, exception.Status));
        }
        public ResponseEntity HandleEndpointNotValidException(ServerEndpointNotValidException exception)
        {
            var toReturn = ExceptionData.MakeExceptionData("REST Endpoint not valid", exception);

            return(new ResponseEntity(toReturn, Headers, HttpStatus.NOT_FOUND));
        }