Last active
June 12, 2019 20:22
-
-
Save denizfurkan/295d12f3f15fe85d62a1b33ba10a43cb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void validation() throws ValidationException { | |
if(_cardNumber.contains("4543")){ | |
System.out.println("Login Successful.."); | |
} | |
else{ | |
throw new ValidationException("Login Failed.."); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment