@@ -0,0 +1,717 @@
+package se.kth.csc.controller;%0A%0Aimport org.springframework.http.HttpStatus;%0Aimport org.springframework.web.bind.annotation.ResponseStatus;%0A%0A@ResponseStatus(HttpStatus.NOT_FOUND)%0Apublic class BadNameException extends Exception %7B%0A    public BadNameException() %7B%0A    %7D%0A%0A    public BadNameException(String message) %7B%0A        super(message);%0A    %7D%0A%0A    public BadNameException(String message, Throwable cause) %7B%0A        super(message, cause);%0A    %7D%0A%0A    public BadNameException(Throwable cause) %7B%0A        super(cause);%0A    %7D%0A%0A    public BadNameException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) %7B%0A        super(message, cause, enableSuppression, writableStackTrace);%0A    %7D%0A%7D%0A

Add new kind of exception