public final class JmsExceptionSupport extends Object
Modifier and Type | Method and Description |
---|---|
static javax.jms.JMSException |
create(String message,
Throwable cause)
Creates or passes through a JMSException to be thrown to the client.
|
static javax.jms.JMSException |
create(Throwable cause)
Creates or passes through a JMSException to be thrown to the client.
|
static javax.jms.MessageEOFException |
createMessageEOFException(Throwable cause)
Creates or passes through a MessageEOFException to be thrown to the client.
|
static javax.jms.MessageFormatException |
createMessageFormatException(Throwable cause)
Creates or passes through a MessageFormatException to be thrown to the client.
|
public static javax.jms.JMSException create(String message, Throwable cause)
message
- The message value to set when a new JMSException is created.cause
- The exception that caused this error state.public static javax.jms.JMSException create(Throwable cause)
cause
- The exception that caused this error state.public static javax.jms.MessageEOFException createMessageEOFException(Throwable cause)
cause
- The exception that caused this error state.public static javax.jms.MessageFormatException createMessageFormatException(Throwable cause)
cause
- The exception that caused this error state.Copyright © 2013–2016 The Apache Software Foundation. All rights reserved.