Fakultas Ilmu Komputer UI

Skip to content
Snippets Groups Projects
Commit 374c23bb authored by Darrel Danadyaksa Poli's avatar Darrel Danadyaksa Poli
Browse files

[GREEN] Add custom exceptions for user authentication errors

parent 88ffc89e
Branches master
No related tags found
1 merge request!1Login registration
package com.safetypin.authentication.exception;
public class InvalidCredentialsException extends RuntimeException {
public InvalidCredentialsException(String message) {
super(message);
}
}
package com.safetypin.authentication.exception;
public class UserAlreadyExistsException extends RuntimeException {
public UserAlreadyExistsException(String message) {
super(message);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment