[issue - 46] add javadoc for my custom exception
package greencity.exception;
-import org.springframework.http.HttpStatus;
-import org.springframework.web.bind.annotation.ResponseStatus;
-
-@ResponseStatus(HttpStatus.NOT_FOUND)
+/**
+ * Exception that we get when user trying to verify email with bad token.
+ *
+ * @author Nazar Vladyka
+ * @version 1.0
+ */
public class NotFoundException extends RuntimeException {
/**
- * Generated javadoc, must be replaced with real one.
+ * Constructor for NotFoundException.
+ *
+ * @param message - giving message.
*/
public NotFoundException(String message) {
super(message);
