com.atomikos.jdbc
Class AtomikosSQLException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.sql.SQLException
              extended by com.atomikos.jdbc.AtomikosSQLException
All Implemented Interfaces:
Serializable

public class AtomikosSQLException
extends SQLException

See Also:
Serialized Form

Method Summary
static void throwAtomikosSQLException(String message)
          Logs and throws an AtomikosSQLException.
static void throwAtomikosSQLException(String message, Throwable cause)
          Logs and throws an AtomikosSQLException.
 
Methods inherited from class java.sql.SQLException
getErrorCode, getNextException, getSQLState, setNextException
 
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

throwAtomikosSQLException

public static void throwAtomikosSQLException(String message,
                                             Throwable cause)
                                      throws AtomikosSQLException
Logs and throws an AtomikosSQLException.

Parameters:
message - The message to use.
cause - The causing error.
Throws:
AtomikosSQLException

throwAtomikosSQLException

public static void throwAtomikosSQLException(String message)
                                      throws AtomikosSQLException
Logs and throws an AtomikosSQLException.

Parameters:
message - The message to use.
Throws:
AtomikosSQLException


Copyright © 2011. All Rights Reserved.