01: /*
02: * Copyright 2001-2007 Geert Bevin <gbevin[remove] at uwyn dot com>
03: * Distributed under the terms of either:
04: * - the common development and distribution license (CDDL), v1.0; or
05: * - the GNU Lesser General Public License, v2.1 or later
06: * $Id: GetRememberedUserIdErrorException.java 3634 2007-01-08 21:42:24Z gbevin $
07: */
08: package com.uwyn.rife.authentication.remembermanagers.exceptions;
09:
10: import com.uwyn.rife.authentication.exceptions.RememberManagerException;
11:
12: public class GetRememberedUserIdErrorException extends
13: RememberManagerException {
14: private static final long serialVersionUID = -8795043125113898699L;
15:
16: private String mRememberId = null;
17:
18: public GetRememberedUserIdErrorException(String rememberId) {
19: this (rememberId, null);
20: }
21:
22: public GetRememberedUserIdErrorException(String rememberId,
23: Throwable cause) {
24: super ("Unable to get the user id for remember id '"
25: + rememberId + "'.", cause);
26: mRememberId = rememberId;
27: }
28:
29: public String getRememberId() {
30: return mRememberId;
31: }
32: }
|