/*
   Chapter 10:   The PasswordInvalidFormatException Class
   Programmer:   Brad Shedd
   Date:         April 29, 2004
   Program Name: PasswordInvalidFormatException.java
   Purpose:      To provide exception for improperly formatted passwords
*/

public class PasswordInvalidFormatException extends PasswordInvalidException
{
  
public PasswordInvalidFormatException()
   {
     
super("Invalid password format.");
   }

  
public PasswordInvalidFormatException(String msg)
   {
     
super(msg);
   }

 
public String usage()
   {
     
return new String("This password is not formatted properly.");
   }
}

Homepage