类 JmsException

    • 构造器详细资料

      • JmsException

        public JmsException​(String msg)
        Constructor that takes a message.
        参数:
        msg - the detail message
      • JmsException

        public JmsException​(String msg,
                            @Nullable
                            Throwable cause)
        Constructor that takes a message and a root cause.
        参数:
        msg - the detail message
        cause - the cause of the exception. This argument is generally expected to be a proper subclass of JMSException, but can also be a JNDI NamingException or the like.
      • JmsException

        public JmsException​(@Nullable
                            Throwable cause)
        Constructor that takes a plain root cause, intended for subclasses mirroring corresponding javax.jms exceptions.
        参数:
        cause - the cause of the exception. This argument is generally expected to be a proper subclass of JMSException.