Package org.omg.CORBA

Examples of org.omg.CORBA.INTERNAL


    }
   
    public static final int ERROR_SET_SHORT_FIELD = SUNVMCID.value + 1405 ;
   
    public INTERNAL errorSetShortField( CompletionStatus cs, Throwable t, Object arg0, Object arg1, Object arg2) {
        INTERNAL exc = new INTERNAL( ERROR_SET_SHORT_FIELD, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = new Object[3] ;
            parameters[0] = arg0 ;
            parameters[1] = arg1 ;
View Full Code Here


  public void acquire() throws InterruptedException {
    if (Thread.interrupted()) throw new InterruptedException();
    synchronized(this) {
      Thread thr = Thread.currentThread();
      if (holder_ == thr)
        throw new INTERNAL(
            "Attempt to acquire Mutex by thread holding the Mutex" ) ;

      try {
        while (inuse_) wait();
        inuse_ = true;
View Full Code Here

  }

  public synchronized void release()  {
    Thread thr = Thread.currentThread();
    if (thr != holder_)
        throw new INTERNAL(
            "Attempt to release Mutex by thread not holding the Mutex" ) ;
    holder_ = null;
    inuse_ = false;
    notify();
  }
View Full Code Here

    }
   
    public static final int ERROR_SET_INT_FIELD = SUNVMCID.value + 1406 ;
   
    public INTERNAL errorSetIntField( CompletionStatus cs, Throwable t, Object arg0, Object arg1, Object arg2) {
        INTERNAL exc = new INTERNAL( ERROR_SET_INT_FIELD, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = new Object[3] ;
            parameters[0] = arg0 ;
            parameters[1] = arg1 ;
View Full Code Here

            // REVISIT: need to close connection.
            if (throwable != null) {
                if (orb.transportDebugFlag) {
                    dprint(".handleEvent: " + throwable);
                }
                INTERNAL i = new INTERNAL("NoSuchThreadPoolException");
                i.initCause(throwable);
                throw i;
            }
        } else {
            if (orb.transportDebugFlag) {
                dprint(".handleEvent: doWork");
View Full Code Here

    }
   
    public static final int ERROR_SET_LONG_FIELD = SUNVMCID.value + 1407 ;
   
    public INTERNAL errorSetLongField( CompletionStatus cs, Throwable t, Object arg0, Object arg1, Object arg2) {
        INTERNAL exc = new INTERNAL( ERROR_SET_LONG_FIELD, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = new Object[3] ;
            parameters[0] = arg0 ;
            parameters[1] = arg1 ;
View Full Code Here

    }
   
    public static final int ERROR_SET_FLOAT_FIELD = SUNVMCID.value + 1408 ;
   
    public INTERNAL errorSetFloatField( CompletionStatus cs, Throwable t, Object arg0, Object arg1, Object arg2) {
        INTERNAL exc = new INTERNAL( ERROR_SET_FLOAT_FIELD, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = new Object[3] ;
            parameters[0] = arg0 ;
            parameters[1] = arg1 ;
View Full Code Here

    }
   
    public static final int ERROR_SET_DOUBLE_FIELD = SUNVMCID.value + 1409 ;
   
    public INTERNAL errorSetDoubleField( CompletionStatus cs, Throwable t, Object arg0, Object arg1, Object arg2) {
        INTERNAL exc = new INTERNAL( ERROR_SET_DOUBLE_FIELD, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = new Object[3] ;
            parameters[0] = arg0 ;
            parameters[1] = arg1 ;
View Full Code Here

    }
   
    public static final int ILLEGAL_FIELD_ACCESS = SUNVMCID.value + 1410 ;
   
    public INTERNAL illegalFieldAccess( CompletionStatus cs, Throwable t, Object arg0) {
        INTERNAL exc = new INTERNAL( ILLEGAL_FIELD_ACCESS, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = new Object[1] ;
            parameters[0] = arg0 ;
            doLog( Level.WARNING, "UTIL.illegalFieldAccess",
View Full Code Here

    }
   
    public static final int BAD_BEGIN_UNMARSHAL_CUSTOM_VALUE = SUNVMCID.value + 1411 ;
   
    public INTERNAL badBeginUnmarshalCustomValue( CompletionStatus cs, Throwable t ) {
        INTERNAL exc = new INTERNAL( BAD_BEGIN_UNMARSHAL_CUSTOM_VALUE, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "UTIL.badBeginUnmarshalCustomValue",
                parameters, UtilSystemException.class, exc ) ;
View Full Code Here

TOP

Related Classes of org.omg.CORBA.INTERNAL

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.