TimeoutException


TimeoutException java.util.concurrent

Java 5.0 serializable checked

An exception of this type is thrown by timed methods to indicate that the specified timeout has elapsed. Other timed methods are able to indicate their timeout status in a boolean or other return value.

Figure 16-95. java.util.concurrent.TimeoutException

 public class  TimeoutException  extends Exception {  // Public Constructors  public  TimeoutException  ( );        public  TimeoutException  (String  message  );   } 

Thrown By

AbstractExecutorService.invokeAny( ) , CyclicBarrier.await( ) , Exchanger.exchange( ) , ExecutorService.invokeAny( ) , Future.get( ) , FutureTask.get( )



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net