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

it.bz.opendatahub.alpinebits.housekeeping.HousekeepingWriteException Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
/*
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */

package it.bz.opendatahub.alpinebits.housekeeping;

import it.bz.opendatahub.alpinebits.common.exception.AlpineBitsException;

/**
 * This exception is thrown if the Housekeeping response
 * could not be written to the OutputStream of the middleware
 * context.
 */
public class HousekeepingWriteException extends AlpineBitsException {

    private static final int STATUS = 500;

    /**
     * Constructs a {@code HousekeepingWriteException} with the specified message and no
     * root cause.
     *
     * @param msg the detail message
     */
    public HousekeepingWriteException(String msg, Throwable t) {
        super(msg, STATUS, "Error while writing Housekeeping response", t);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy