2017-12-14 15:33:27 +01:00
|
|
|
/**
|
|
|
|
* Copyright (C) 2017 Christian Pierre MOMON <cmomon@april.org>
|
|
|
|
*
|
|
|
|
* This file is part of (April) Hebdobot.
|
|
|
|
*
|
|
|
|
* Hebdobot is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Affero General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* Hebdobot 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 Affero General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Affero General Public License
|
|
|
|
* along with Hebdobot. If not, see <http://www.gnu.org/licenses/>
|
|
|
|
*/
|
2017-12-15 01:07:05 +01:00
|
|
|
package org.april.hebdobot;
|
2011-09-02 19:09:09 +02:00
|
|
|
|
2017-12-14 16:58:45 +01:00
|
|
|
/**
|
2017-12-15 01:07:05 +01:00
|
|
|
* The Class HebdobotException.
|
2017-12-14 16:58:45 +01:00
|
|
|
*/
|
2017-12-15 01:07:05 +01:00
|
|
|
public class HebdobotException extends Exception
|
2017-12-14 15:37:29 +01:00
|
|
|
{
|
2017-12-15 01:07:05 +01:00
|
|
|
private static final long serialVersionUID = -4620284826152185283L;
|
2011-09-02 19:09:09 +02:00
|
|
|
|
2017-12-14 16:58:45 +01:00
|
|
|
/**
|
2017-12-15 01:07:05 +01:00
|
|
|
* Instantiates a new hebdobot exception.
|
2017-12-14 16:58:45 +01:00
|
|
|
*/
|
2017-12-15 01:07:05 +01:00
|
|
|
public HebdobotException()
|
2017-12-14 15:37:29 +01:00
|
|
|
{
|
2017-12-15 01:07:05 +01:00
|
|
|
super();
|
2017-12-14 15:37:29 +01:00
|
|
|
}
|
2011-09-02 19:09:09 +02:00
|
|
|
|
2017-12-14 16:58:45 +01:00
|
|
|
/**
|
2017-12-15 01:07:05 +01:00
|
|
|
* Instantiates a new hebdobot exception.
|
2017-12-14 16:58:45 +01:00
|
|
|
*
|
|
|
|
* @param message
|
|
|
|
* the message
|
|
|
|
*/
|
2017-12-15 01:07:05 +01:00
|
|
|
public HebdobotException(final String message)
|
|
|
|
{
|
|
|
|
super(message);
|
|
|
|
}
|
2011-09-02 19:09:09 +02:00
|
|
|
|
2017-12-14 16:58:45 +01:00
|
|
|
/**
|
2017-12-15 01:07:05 +01:00
|
|
|
* Instantiates a new hebdobot exception.
|
2017-12-14 16:58:45 +01:00
|
|
|
*
|
2017-12-15 01:07:05 +01:00
|
|
|
* @param message
|
|
|
|
* the message
|
|
|
|
* @param cause
|
|
|
|
* the cause
|
2017-12-14 16:58:45 +01:00
|
|
|
*/
|
2017-12-15 01:07:05 +01:00
|
|
|
public HebdobotException(final String message, final Throwable cause)
|
|
|
|
{
|
|
|
|
super(message, cause);
|
|
|
|
}
|
2011-09-02 19:09:09 +02:00
|
|
|
|
2017-12-14 16:58:45 +01:00
|
|
|
/**
|
2017-12-15 01:07:05 +01:00
|
|
|
* Instantiates a new hebdobot exception.
|
2017-12-14 16:58:45 +01:00
|
|
|
*
|
2017-12-15 01:07:05 +01:00
|
|
|
* @param cause
|
|
|
|
* the cause
|
2017-12-14 16:58:45 +01:00
|
|
|
*/
|
2017-12-15 01:07:05 +01:00
|
|
|
public HebdobotException(final Throwable cause)
|
2017-12-14 15:37:29 +01:00
|
|
|
{
|
2017-12-15 01:07:05 +01:00
|
|
|
super(cause);
|
2017-12-14 15:37:29 +01:00
|
|
|
}
|
2017-12-15 01:07:05 +01:00
|
|
|
}
|