Examples of UNKNOWN


Examples of org.omg.CORBA.UNKNOWN

                { "TransactionImple.enlistResource - XAResource.start", XAHelper.printXAErrorCode(e), xid });
              }

              markRollbackOnly();

              throw new UNKNOWN();
            }
          }
        }
      }
      else
View Full Code Here

Examples of org.omg.CORBA.UNKNOWN

                                       // transaction
                                       // already
                                       // terminated.
    case ActionStatus.INVALID:
    case ActionStatus.CLEANUP:
      throw new UNKNOWN(ExceptionCodes.UNKNOWN_EXCEPTION,
          CompletionStatus.COMPLETED_MAYBE);
    }
  }
View Full Code Here

Examples of org.omg.CORBA.UNKNOWN

      /*
       * Cannot just rethrow exception, so throw UNKNOWN.
       */

      throw new UNKNOWN(e3.toString(), ExceptionCodes.UNKNOWN_EXCEPTION,
          CompletionStatus.COMPLETED_NO);
    }

    if (jtsLogger.logger.isDebugEnabled())
    {
View Full Code Here

Examples of org.omg.CORBA.UNKNOWN

        coord = parentHandle.get_coordinator();
        corbaRec = createOTSRecord(false, r, coord);
      }
      catch (Unavailable ex)
      {
        throw new UNKNOWN(ExceptionCodes.INACTIVE_TRANSACTION,
            CompletionStatus.COMPLETED_NO); // what else to raise?
      }

      coord = null;
View Full Code Here

Examples of org.omg.CORBA.UNKNOWN

        // during the pre-commmit phase. This is required for
        // JTA 1.1 Synchronization ordering behaviour
        if(_currentRecord != null) {
          Comparable c = (Comparable)otsSync;
          if(c.compareTo(_currentRecord) != 1) {
            throw new UNKNOWN(ExceptionCodes.ADD_FAILED, CompletionStatus.COMPLETED_NO);
          }
        }

                if (!_synchs.add(otsSync))
        {
          otsSync = null;
          throw new UNKNOWN(ExceptionCodes.ADD_FAILED,
              CompletionStatus.COMPLETED_NO); // what else to
                              // raise?
        }
      }
      else
View Full Code Here

Examples of org.omg.CORBA.UNKNOWN

    {
      return propagationContext();
    }
    catch (Exception e)
    {
      throw new UNKNOWN(e.toString(), ExceptionCodes.UNKNOWN_EXCEPTION,
        CompletionStatus.COMPLETED_NO);
    }
  }
View Full Code Here

Examples of org.omg.CORBA.UNKNOWN

      if (problem)
      {
          if (exp != null)
              throw exp;
          else
              throw new UNKNOWN(ExceptionCodes.SYNCHRONIZATION_EXCEPTION,
                      CompletionStatus.COMPLETED_NO);
      }
  }
View Full Code Here

Examples of org.omg.CORBA.UNKNOWN

        if (problem)
      {
          if (exp != null)
              throw exp;
          else
              throw new UNKNOWN(ExceptionCodes.SYNCHRONIZATION_EXCEPTION,
                      CompletionStatus.COMPLETED_NO);
      }
  }
View Full Code Here

Examples of org.omg.CORBA.UNKNOWN

                log.debug("Error", e);
                RemoteException remoteException = new RemoteException(e.getClass().getName() + " thrown from " + ejbDeployment.getDeploymentId() + ": " + e.getMessage(), e);
                throw new UnknownException(remoteException);
            } catch (Throwable e) {
                log.warn("Unexpected throwable", e);
                throw (SystemException)new UNKNOWN("Unknown exception type " + e.getClass().getName() + ": " + e.getMessage()).initCause(e);
            }

            // creat the output stream
            org.omg.CORBA_2_3.portable.OutputStream out = (org.omg.CORBA_2_3.portable.OutputStream) reply.createReply();
View Full Code Here

Examples of org.omg.CORBA.UNKNOWN

            return ProxyConsumerHelper.narrow(_servant.activate());
        } catch (Exception e)
        {
            logger_.error("obtain_notification_pull_consumer: unexpected error", e);

            throw new UNKNOWN();
        }
    }
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.