CancellationException


CancellationException java.util.concurrent

Java 5.0 serializable unchecked

An exception of this type is thrown to indicate that the result of a computation cannot be retrieved because the computation was canceled . The get( ) method of the Future interface may throw a CancellationException , for example.

Figure 16-74. java.util.concurrent.CancellationException

 public class  CancellationException  extends IllegalStateException {  // Public Constructors  public  CancellationException  ( );        public  CancellationException  (String  message  );   } 



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