abdurrahimagca / AtmProject

Overly generic exceptions should not be thrown JAVA-W1042
Anti-pattern
Major
1 occurrence in this check
main should throw an exception more specific than Exception
 2import java.util.Scanner;
 3
 4public class Main {
 5  public static void main(String[] args) throws Exception { 6    Scanner sc = new Scanner(System.in);
 7    String CardNum;
 8    do {