1 18 package org.apache.activemq.broker; 19 20 import org.apache.activemq.command.ActiveMQDestination; 21 22 import javax.jms.JMSException ; 23 24 29 public class DestinationAlreadyExistsException extends JMSException { 30 private final ActiveMQDestination destination; 31 32 public DestinationAlreadyExistsException(ActiveMQDestination destination) { 33 super("Destination already exists: " + destination); 34 this.destination = destination; 35 } 36 37 public ActiveMQDestination getDestination() { 38 return destination; 39 } 40 } 41 | Popular Tags |