1 18 package org.apache.activemq; 19 20 import javax.jms.JMSException ; 21 22 28 public class AlreadyClosedException extends JMSException { 29 30 private static final long serialVersionUID = -3203104889571618702L; 31 32 public AlreadyClosedException() { 33 super("this connection"); 34 } 35 36 public AlreadyClosedException(String description) { 37 super("Cannot use " + description + " as it has already been closed", "AMQ-1001"); 38 } 39 } 40 | Popular Tags |