Package com.atomikos.icatch

Examples of com.atomikos.icatch.CompositeTerminator


          String msg = "No TransactionControl object found?";
          Configuration.logWarning ( msg );
          throw new SecurityException ( msg );
        }
           
        CompositeTerminator term = control.getTerminator ();
        if ( term == null ) {
          String msg = "No TransactionTerminator object found?";
          Configuration.logWarning ( msg );
          throw new SecurityException ( msg );
        }
View Full Code Here


            javax.transaction.HeuristicMixedException,
            javax.transaction.HeuristicRollbackException,
            javax.transaction.SystemException, java.lang.SecurityException
    {

        CompositeTerminator term = getTerminator();
        try {
            term.commit ();
        } catch ( HeurHazardException hh ) {
            throw new HeuristicMixedException ( hh.getMessage () );
        } catch ( HeurRollbackException hr ) {
            throw new HeuristicRollbackException ( hr.getMessage () );
        } catch ( HeurMixedException hm ) {
View Full Code Here

     */

    public void rollback () throws IllegalStateException, SystemException
    {

      CompositeTerminator term = getTerminator();
        try {
            term.rollback ();
        } catch ( SysException se ) {
          Configuration.logWarning ( se.getMessage() , se );
            throw new ExtendedSystemException ( se.getMessage (), se
                    .getErrors () );
        }
View Full Code Here

          String msg = "No TransactionControl object found?";
          Configuration.logWarning ( msg );
          throw new SecurityException ( msg );
        }
           
        CompositeTerminator term = control.getTerminator ();
        if ( term == null ) {
          String msg = "No TransactionTerminator object found?";
          Configuration.logWarning ( msg );
          throw new SecurityException ( msg );
        }
View Full Code Here

            javax.transaction.HeuristicMixedException,
            javax.transaction.HeuristicRollbackException,
            javax.transaction.SystemException, java.lang.SecurityException
    {

        CompositeTerminator term = getTerminator();
        try {
            term.commit ();
        } catch ( HeurHazardException hh ) {
            rethrowAsJtaHeuristicMixedException ( hh.getMessage () , hh );
        } catch ( HeurRollbackException hr ) {
          rethrowAsJtaHeuristicRollbackException ( hr.getMessage () , hr );
        } catch ( HeurMixedException hm ) {
View Full Code Here

     */

    public void rollback () throws IllegalStateException, SystemException
    {

      CompositeTerminator term = getTerminator();
        try {
            term.rollback ();
        } catch ( SysException se ) {
          Configuration.logWarning ( se.getMessage() , se );
            throw new ExtendedSystemException ( se.getMessage (), se
                    .getErrors () );
        }
View Full Code Here

TOP

Related Classes of com.atomikos.icatch.CompositeTerminator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.