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

com.rabbitmq.jms.util.RMQJMSSecurityException 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.JMSSecurityException;

/**
 * Wraps an exception as a {@link JMSSecurityException}.
 */
public class RMQJMSSecurityException extends JMSSecurityException {
    /** TODO */
    private static final long serialVersionUID = 1L;

    public RMQJMSSecurityException(String msg, Exception x) {
        this(msg, null, x);
    }

    public RMQJMSSecurityException(Exception x) {
        this(x.getMessage(), x);
    }

    private RMQJMSSecurityException(String msg, String errorCode, Exception x) {
        super(msg, errorCode);
        this.initCause(x);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy