All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.legstar.messaging.RequestException Maven / Gradle / Ivy

There is a newer version: 1.5.3
Show newest version
/*******************************************************************************
 * 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 a request execution fails.
 */
public class RequestException extends Exception {

    /** Serial ID. */
    private static final long serialVersionUID = 1887640077182671863L;

    /** 
     * Constructor from an error message. 
     * @param message the text message 
     * */
    public RequestException(final String message) {
        super(message);
    }

    /** 
     * Constructor from an inner exception. 
     * @param e the inner exception 
     * */
    public RequestException(final Exception e) {
        super(e);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy