com.atomikos.jms
Class AtomikosJMSException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.jms.JMSException
              extended by com.atomikos.jms.AtomikosJMSException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AtomikosTransactionRequiredJMSException

public class AtomikosJMSException
extends javax.jms.JMSException

An extension of the standard JMSException with custom logic for error reporting.

See Also:
Serialized Form

Method Summary
static void throwAtomikosJMSException(String msg)
          Logs and throws an AtomikosJMSException.
static void throwAtomikosJMSException(String msg, Throwable cause)
          Logs and throws and AtomikosJMSException.
 
Methods inherited from class javax.jms.JMSException
getErrorCode, getLinkedException, setLinkedException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

throwAtomikosJMSException

public static void throwAtomikosJMSException(String msg,
                                             Throwable cause)
                                      throws AtomikosJMSException
Logs and throws and AtomikosJMSException.

Parameters:
msg - The message to use.
cause - The cause.
Throws:
AtomikosJMSException

throwAtomikosJMSException

public static void throwAtomikosJMSException(String msg)
                                      throws AtomikosJMSException
Logs and throws an AtomikosJMSException.

Parameters:
msg - The message to use.
Throws:
AtomikosJMSException


Copyright © 2011. All Rights Reserved.