Package org.teiid.translator

Examples of org.teiid.translator.DataNotAvailableException


            // If we're asynch and the wait time was longer than the poll interval,
            // then just say we don't have results instead
            if(randomTimeToWait > this.config.getPollIntervalInMilli()) {
              waited = true;
                throw new DataNotAvailableException(randomTimeToWait);
            }
            try {
                Thread.sleep(randomTimeToWait);
            } catch(InterruptedException e) {
            }
View Full Code Here


            throw new TranslatorException("Connector Exception"); //$NON-NLS-1$
          }
        if (dataNotAvailable > -1) {
          int delay = dataNotAvailable;
          dataNotAvailable = -1;
          throw new DataNotAvailableException(delay);
        }
        return msg;
      }
     
      @Override
View Full Code Here

TOP

Related Classes of org.teiid.translator.DataNotAvailableException

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.