State « Exception « Java Thread Q&A

Home
Java Thread Q&A
1.concurrency
2.Development
3.Exception
4.Notify
5.Operation
6.Socket
7.State
8.synchronize
9.Thread Safe
10.ThreadPool
Java Thread Q&A » Exception » State 

1. Illegal Thread State Exception    coderanch.com

From the exact same page: waitFor public abstract int waitFor() throws InterruptedExceptioncauses the current thread to wait, if necessary, until the process represented by this Process object has terminated. This method returns immediately if the subprocess has already terminated. If the subprocess has not yet terminated, the calling thread will be blocked until the subprocess exits. Returns: the exit value of ...

2. Illegal thread state exception    forums.oracle.com

3. illegal thread state exception.    forums.oracle.com

I created a thread that runs a process with some 1 gb of data throughput. the process exits for low data. but for huge data. it says illegal thread state of exception. sample code : ...... Runtime rt = Runtime.getRuntime(); Process child =rt.exec("myprocess.exe hugefile.txt"); child.exitValue(); .... here hugefile.txt contains some 30000 lines of text. for thisdata. its shouldnt work. can u ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.