Browse Source

Adds error printing for indexoutofbound case

feature-serializer
fdai5728 2 years ago
committed by fdai6352
parent
commit
b0730d1003
  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