"throw " is a keyword defined in the java
programming language. Keywords are basically reserved words which have
specific meaning relevant to a compiler in java programming language likewise
the throw keyword indicates the following :
-- The throw keyword in java programming language is used to throw an
exception.
|
import java.io.IOException; public class Class1{ public method readtheFile(String file) throws IOException{ <statements> if
(error){ |
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
Ask Questions? Discuss: throw Java Keyword
Post your Comment