2009-07-21 04:39:18 -04:00
|
|
|
/*
|
|
|
|
* DavMail POP/IMAP/SMTP/CalDav/LDAP Exchange Gateway
|
|
|
|
* Copyright (C) 2009 Mickael Guessant
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
*/
|
2008-11-24 07:35:58 -05:00
|
|
|
package davmail.exchange;
|
|
|
|
|
2009-04-27 19:03:58 -04:00
|
|
|
import davmail.exception.DavMailException;
|
2008-11-24 07:35:58 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Custom exception to mark network down case.
|
|
|
|
*/
|
2009-04-27 19:03:58 -04:00
|
|
|
public class NetworkDownException extends DavMailException {
|
2009-08-13 17:04:46 -04:00
|
|
|
/**
|
|
|
|
* Build a network down exception with the provided BundleMessage key.
|
2011-06-08 15:58:29 -04:00
|
|
|
*
|
2009-08-13 17:04:46 -04:00
|
|
|
* @param key message key
|
|
|
|
*/
|
2009-04-27 19:03:58 -04:00
|
|
|
public NetworkDownException(String key) {
|
|
|
|
super(key);
|
2008-11-24 07:35:58 -05:00
|
|
|
}
|
2009-09-22 05:03:32 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Build a network down exception with the provided BundleMessage key.
|
2011-06-08 15:58:29 -04:00
|
|
|
*
|
|
|
|
* @param key message key
|
2009-09-22 05:03:32 -04:00
|
|
|
* @param message detailed message
|
|
|
|
*/
|
|
|
|
public NetworkDownException(String key, Object message) {
|
|
|
|
super(key, message);
|
|
|
|
}
|
2008-11-24 07:35:58 -05:00
|
|
|
}
|