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

org.zeromq.jms.stomp.StompException Maven / Gradle / Ivy

package org.zeromq.jms.stomp;

/*
 * Copyright (c) 2015 Jeremy Miller
 *
 * 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/.
 */

/**
 * STOMP exception.
 */
public class StompException extends Exception {

    private static final long serialVersionUID = 1661699719108939224L;

    /**
     * Constructs a new exception with the specified detail message.
     * @param message  the message detail
     */
    public StompException(final String message) {
        super(message);
    }

    /**
     * Constructs a new exception with the specified detail message and cause.
     * @param message  the message detail
     * @param cause    the cause
     */
    public StompException(final String message, final Throwable cause) {
        super(message, cause);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy