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

org.lastbamboo.common.http.client.RuntimeHttpException Maven / Gradle / Ivy

package org.lastbamboo.common.http.client;

import org.apache.commons.httpclient.HttpException;

/**
 * A runtime wrapper around an HttpException.
 */
public class RuntimeHttpException extends RuntimeException
    {
    /**
     * Constructs a new runtime wrapper for an HttpException.
     * 
     * @param original The original HttpException to wrap.
     */
    public RuntimeHttpException (final HttpException original)
        {
        super (original);
        }

    /**
     * Constructs a new runtime wrapper for an HttpException.
     * 
     * @param message Any message to display with the exception.
     * @param original The original HttpException to wrap.
     */
    public RuntimeHttpException(final String message, 
        final HttpException original)
        {
        super (message, original);
        }

    /**
     * Constructs a new runtime wrapper for an HttpException.
     * 
     * @param message Any message to display with the exception.
     */
    public RuntimeHttpException(final String message)
        {
        super(message);
        }
    }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy