com.legstar.messaging.ConnectionException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of legstar-messaging Show documentation
Show all versions of legstar-messaging Show documentation
Mainframe message exchange protocol.
/*******************************************************************************
* Copyright (c) 2010 LegSem.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser Public License v2.1
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*
* Contributors:
* LegSem - initial API and implementation
******************************************************************************/
package com.legstar.messaging;
/**
* Exception raised if host connection fails.
*/
public class ConnectionException extends Exception {
/** Serial ID. */
private static final long serialVersionUID = 28391066252414541L;
/**
* Constructor from an error message.
* @param message the text message
* */
public ConnectionException(final String message) {
super(message);
}
/**
* Constructor from an inner exception.
* @param e the inner exception
* */
public ConnectionException(final Exception e) {
super(e);
}
}