Examples of UNKNOWN


Examples of org.omg.CORBA.UNKNOWN

              destroyState();

              if (_prepared)
                throw new org.omg.CosTransactions.HeuristicHazard();
              else
                throw new UNKNOWN();
            }
          }
        }
        catch (Exception e2)
        {
          e2.printStackTrace();

          throw new UNKNOWN();
        }
        finally
        {
          if (_prepared)
            destroyState();
View Full Code Here

Examples of org.omg.CORBA.UNKNOWN

              throw new org.omg.CosTransactions.HeuristicMixed();
            case XAException.XAER_NOTA:
            case XAException.XAER_PROTO:
              break;
            case XAException.XA_RETRY:
              throw new UNKNOWN();
            case XAException.XAER_INVAL:
            case XAException.XAER_RMFAIL: // resource manager
                            // failed, did it
                            // rollback?
              throw new org.omg.CosTransactions.HeuristicHazard();
            default:
              throw new org.omg.CosTransactions.HeuristicHazard();
            }
          }
        }
        catch (Exception e2)
        {
          _committed = false;

          throw new UNKNOWN();
        }
        finally
        {
          removeConnection();
        }
View Full Code Here

Examples of org.omg.CORBA.UNKNOWN

  }

  public void commit_subtransaction(Coordinator parent)
      throws SystemException
  {
    throw new UNKNOWN();
  }
View Full Code Here

Examples of org.omg.CORBA.UNKNOWN

    throw new UNKNOWN();
  }

  public void rollback_subtransaction() throws SystemException
  {
    throw new UNKNOWN();
  }
View Full Code Here

Examples of org.omg.CORBA.UNKNOWN

          case XAException.XAER_PROTO:
            break;
          case XAException.XAER_INVAL:
          case XAException.XAER_RMFAIL: // resource manager failed,
                          // did it rollback?
            throw new UNKNOWN();
          default:
            throw new UNKNOWN();
          }
        }
        catch (SystemException ex)
        {
          ex.printStackTrace();
         
          throw ex;
        }
        catch (org.omg.CosTransactions.HeuristicHazard ex)
        {
          throw ex;
        }
        catch (Exception e2)
        {
          if (jtaLogger.loggerI18N.isWarnEnabled())
          {
            jtaLogger.loggerI18N
                .warn(
                    "com.arjuna.ats.internal.jta.resources.jts.orbspecific.coperror",
                    e2);
          }

          e2.printStackTrace();
         
          throw new UNKNOWN();
        }
        finally
        {
          removeConnection();
        }
View Full Code Here

Examples of org.omg.CORBA.UNKNOWN

        try {
            unknown = (Throwable) in.read_value() ;
        } catch (ThreadDeath d) {
            throw d ;
        } catch (Throwable e) {
            unknown = new UNKNOWN( 0, CompletionStatus.COMPLETED_MAYBE ) ;
        }
    }
View Full Code Here

Examples of org.omg.CORBA.UNKNOWN

    }
   
    public static final int UNSUPPORTED_SYSTEM_EXCEPTION = OMGVMCID.value + 2 ;
   
    public UNKNOWN unsupportedSystemException( CompletionStatus cs, Throwable t ) {
        UNKNOWN exc = new UNKNOWN( UNSUPPORTED_SYSTEM_EXCEPTION, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "OMG.unsupportedSystemException",
                parameters, OMGSystemException.class, exc ) ;
View Full Code Here

Examples of org.omg.CORBA.UNKNOWN

    }
   
    public static final int PI_UNKNOWN_USER_EXCEPTION = OMGVMCID.value + 3 ;
   
    public UNKNOWN piUnknownUserException( CompletionStatus cs, Throwable t ) {
        UNKNOWN exc = new UNKNOWN( PI_UNKNOWN_USER_EXCEPTION, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "OMG.piUnknownUserException",
                parameters, OMGSystemException.class, exc ) ;
View Full Code Here

Examples of org.omg.CORBA.UNKNOWN

    ///////////////////////////////////////////////////////////
   
    public static final int UNKNOWN_USER_EXCEPTION = OMGVMCID.value + 1 ;
   
    public UNKNOWN unknownUserException( CompletionStatus cs, Throwable t ) {
        UNKNOWN exc = new UNKNOWN( UNKNOWN_USER_EXCEPTION, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.FINE )) {
            Object[] parameters = null ;
            doLog( Level.FINE, "OMG.unknownUserException",
                parameters, OMGSystemException.class, exc ) ;
View Full Code Here

Examples of org.omg.CORBA.UNKNOWN

    ///////////////////////////////////////////////////////////
   
    public static final int UNKNOWN_SYSEX = SUNVMCID.value + 1401 ;
   
    public UNKNOWN unknownSysex( CompletionStatus cs, Throwable t ) {
        UNKNOWN exc = new UNKNOWN( UNKNOWN_SYSEX, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "UTIL.unknownSysex",
                parameters, UtilSystemException.class, exc ) ;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.