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: EraseSessionErrorException.java 3634 2007-01-08 21:42:24Z gbevin $
07: */
08: package com.uwyn.rife.authentication.sessionmanagers.exceptions;
09:
10: import com.uwyn.rife.authentication.exceptions.SessionManagerException;
11: import com.uwyn.rife.database.exceptions.DatabaseException;
12:
13: public class EraseSessionErrorException extends SessionManagerException {
14: private static final long serialVersionUID = 7163686412279212060L;
15:
16: private String mAuthId = null;
17:
18: public EraseSessionErrorException(String authId) {
19: this (authId, null);
20: }
21:
22: public EraseSessionErrorException(String authId,
23: DatabaseException cause) {
24: super ("Unable to erase the session with authid '" + authId
25: + "'.", cause);
26: mAuthId = authId;
27: }
28:
29: public String getAuthId() {
30: return mAuthId;
31: }
32: }
|