01: /*
02: * Copyright 2001 Sun Microsystems, Inc. All rights reserved.
03: * PROPRIETARY/CONFIDENTIAL. Use of this product is subject to license terms.
04: */
05:
06: package com.sun.portal.providers.userinfo;
07:
08: import java.lang.*;
09:
10: public class PasswordTooShortException extends PasswordException {
11:
12: private int requiredLength = 0;
13:
14: public PasswordTooShortException(String msg, int len) {
15: super (msg);
16: requiredLength = len;
17: }
18:
19: public int getRequiredLength() {
20: return requiredLength;
21: }
22: }
|