Browse Source

Adds error printing for indexoutofbound case

feature-credentialneu
fdai5728 3 years ago
parent
commit
d616b6f9cb
  1. 4
      src/main/java/CredentialRepository.java

4
src/main/java/CredentialRepository.java

@ -67,7 +67,7 @@ public class CredentialRepository implements CredentialRepositoryInterface{
}
catch (IndexOutOfBoundsException outOfBoundsException)
{
System.err.println("No Credential with Index" + index + " found");
}
}
@ -79,7 +79,7 @@ public class CredentialRepository implements CredentialRepositoryInterface{
}
catch (IndexOutOfBoundsException outOfBoundsException)
{
System.err.println("No Credential with Index" + index + " found");
}
}

Loading…
Cancel
Save