javax.jms.JMSRuntimeException#initCause ( )源码实例Demo

下面列出了javax.jms.JMSRuntimeException#initCause ( ) 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。

源代码1 项目: activemq-artemis   文件: ActiveMQJMSProducer.java
@Override
public JMSProducer setDeliveryMode(int deliveryMode) {
   try {
      producer.setDeliveryMode(deliveryMode);
   } catch (JMSException e) {
      JMSRuntimeException e2 = new JMSRuntimeException(e.getMessage());
      e2.initCause(e);
      throw e2;
   }
   return this;
}
 
源代码2 项目: activemq-artemis   文件: ActiveMQJMSProducer.java
@Override
public int getDeliveryMode() {
   try {
      return producer.getDeliveryMode();
   } catch (JMSException e) {
      JMSRuntimeException e2 = new JMSRuntimeException(e.getMessage());
      e2.initCause(e);
      throw e2;
   }
}
 
源代码3 项目: activemq-artemis   文件: ActiveMQJMSProducer.java
@Override
public JMSProducer setPriority(int priority) {
   try {
      producer.setPriority(priority);
   } catch (JMSException e) {
      JMSRuntimeException e2 = new JMSRuntimeException(e.getMessage());
      e2.initCause(e);
      throw e2;
   }
   return this;
}
 
源代码4 项目: activemq-artemis   文件: ActiveMQJMSProducer.java
@Override
public int getPriority() {
   try {
      return producer.getPriority();
   } catch (JMSException e) {
      JMSRuntimeException e2 = new JMSRuntimeException(e.getMessage());
      e2.initCause(e);
      throw e2;
   }
}
 
源代码5 项目: activemq-artemis   文件: ActiveMQJMSProducer.java
@Override
public JMSProducer setTimeToLive(long timeToLive) {
   try {
      producer.setTimeToLive(timeToLive);
      return this;
   } catch (JMSException e) {
      JMSRuntimeException e2 = new JMSRuntimeException(e.getMessage());
      e2.initCause(e);
      throw e2;
   }
}
 
源代码6 项目: activemq-artemis   文件: ActiveMQJMSProducer.java
@Override
public long getTimeToLive() {
   long timeToLive = 0;
   try {
      timeToLive = producer.getTimeToLive();
      return timeToLive;
   } catch (JMSException e) {
      JMSRuntimeException e2 = new JMSRuntimeException(e.getMessage());
      e2.initCause(e);
      throw e2;
   }
}
 
源代码7 项目: activemq-artemis   文件: ActiveMQJMSProducer.java
@Override
public JMSProducer setDeliveryDelay(long deliveryDelay) {
   try {
      producer.setDeliveryDelay(deliveryDelay);
      return this;
   } catch (JMSException e) {
      JMSRuntimeException e2 = new JMSRuntimeException(e.getMessage());
      e2.initCause(e);
      throw e2;
   }
}
 
源代码8 项目: tomee   文件: JMSProducerImpl.java
@Override
public JMSProducer setDeliveryMode(final int deliveryMode) {
    try {
        producer.setDeliveryMode(deliveryMode);
    } catch (final JMSException e) {
        final JMSRuntimeException e2 = new JMSRuntimeException(e.getMessage());
        e2.initCause(e);
        throw e2;
    }
    return this;
}
 
源代码9 项目: tomee   文件: JMSProducerImpl.java
@Override
public int getDeliveryMode() {
    try {
        return producer.getDeliveryMode();
    } catch (final JMSException e) {
        final JMSRuntimeException e2 = new JMSRuntimeException(e.getMessage());
        e2.initCause(e);
        throw e2;
    }
}
 
源代码10 项目: tomee   文件: JMSProducerImpl.java
@Override
public JMSProducer setPriority(final int priority) {
    try {
        producer.setPriority(priority);
    } catch (final JMSException e) {
        final JMSRuntimeException e2 = new JMSRuntimeException(e.getMessage());
        e2.initCause(e);
        throw e2;
    }
    return this;
}
 
源代码11 项目: tomee   文件: JMSProducerImpl.java
@Override
public int getPriority() {
    try {
        return producer.getPriority();
    } catch (final JMSException e) {
        final JMSRuntimeException e2 = new JMSRuntimeException(e.getMessage());
        e2.initCause(e);
        throw e2;
    }
}
 
源代码12 项目: tomee   文件: JMSProducerImpl.java
@Override
public JMSProducer setTimeToLive(final long timeToLive) {
    try {
        producer.setTimeToLive(timeToLive);
        return this;
    } catch (final JMSException e) {
        final JMSRuntimeException e2 = new JMSRuntimeException(e.getMessage());
        e2.initCause(e);
        throw e2;
    }
}
 
源代码13 项目: tomee   文件: JMSProducerImpl.java
@Override
public long getTimeToLive() {
    try {
        return producer.getTimeToLive();
    } catch (final JMSException e) {
        final JMSRuntimeException e2 = new JMSRuntimeException(e.getMessage());
        e2.initCause(e);
        throw e2;
    }
}
 
源代码14 项目: tomee   文件: JMSProducerImpl.java
@Override
public JMSProducer setDeliveryDelay(final long deliveryDelay) {
    try {
        producer.setDeliveryDelay(deliveryDelay);
        return this;
    } catch (final JMSException e) {
        JMSRuntimeException e2 = new JMSRuntimeException(e.getMessage());
        e2.initCause(e);
        throw e2;
    }
}
 
 同类方法