source: src/main/java/com/example/exceptions/PasswordsDoNotMatchException.java

Last change on this file was a51a591, checked in by colovik <j.colovik@…>, 14 months ago

final

  • Property mode set to 100644
File size: 360 bytes
Line 
1package com.example.exceptions;
2
3import org.springframework.http.HttpStatus;
4import org.springframework.web.bind.annotation.ResponseStatus;
5
6@ResponseStatus(code = HttpStatus.NOT_FOUND)
7public class PasswordsDoNotMatchException extends RuntimeException{
8
9 public PasswordsDoNotMatchException() {
10 super("Passwords do not match exception.");
11 }
12
13}
Note: See TracBrowser for help on using the repository browser.