com.wassilak.emom.message.MessageException Maven / Gradle / Ivy
Show all versions of emom Show documentation
package com.wassilak.emom.message;
/**
* The MessageException class represents any exceptions that occurred while trying to create or interact with Message
* objects.
*
* Copyright (C) 2014 John Wassilak ([email protected])
*
* 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 3 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, see
* http://www.gnu.org/licenses/.
*/
public final class MessageException extends Exception {
/**
* The serialVersionUID constant represents the current serialization version of this class.
*/
private static final long serialVersionUID = 6780743523446505560L;
/**
* The MessageException constructor appends the given message to the exception passed to the caller.
*
* @param message
* The message to be included in the exception.
*/
public MessageException(String message) {
super(message);
}
}