Skip to content
Snippets Groups Projects
Select Git revision
  • d5e5e2a834a2f6766faa6f552fa85c86c2d17f79
  • master default protected
  • patch-2
  • patch-1
4 results

WeakPassphraseException.java

  • Forked from Tim Miller / SWEN90006-A1-2019
    Source project has a limited visibility.
    WeakPassphraseException.java 510 B
    package swen90006.passbook;
    
    public class WeakPassphraseException extends Exception
    {
        public WeakPassphraseException (String passphrase)
        {
            super("Passphrase does not comply with the PassBook rules\n" +
    	      "\t- must contains at least " +
    	      PassBook.MINIMUM_PASSPHRASE_LENGTH + " characters\n" +
    	      "\t- must contain at least one numeric character\n" +
    	      "\t- must contain at least one lower case letter\n" +
    	      "\t- must contain at least one upper case letter\n");
        }
    }