1 45 package org.exolab.jms.messagemgr; 46 47 import java.sql.Connection ; 48 import javax.jms.JMSException ; 49 50 import org.exolab.jms.message.MessageImpl; 51 import org.exolab.jms.persistence.PersistenceException; 52 53 54 60 class SharedMessageHandle extends AbstractMessageHandle { 61 62 69 public SharedMessageHandle(MessageRef reference, MessageImpl message) 70 throws JMSException { 71 super(reference, message); 72 } 73 74 80 public void add(Connection connection) throws PersistenceException { 81 throw new PersistenceException("Unsupported operation"); 82 } 83 84 90 public void update(Connection connection) throws PersistenceException { 91 throw new PersistenceException("Unsupported operation"); 92 } 93 } 94 | Popular Tags |