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

com.rabbitmq.jms.util.AbortedException Maven / Gradle / Ivy

There is a newer version: 3.4.0
Show newest version
/* Copyright (c) 2013-2020 VMware, Inc. or its affiliates. All rights reserved. */
package com.rabbitmq.jms.util;

import javax.jms.Connection;

/**
 * Internal exception to indicate that waiting API call has been cancelled by other API action -- e.g. {@link Connection#close()}.
 */
public class AbortedException extends Exception {

    private static final long serialVersionUID = 1012573992638419310L;

    /**
     * Constructs a new exception with no message.
     */
    public AbortedException() {
    }

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

    /**
     * Constructs a new exception with the specified Throwable as cause.
     * @param cause the cause of this exception.
     */
    public AbortedException(Throwable cause) {
        super(cause);
    }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy