Java   View all facts   Glossary   Help
syntactic unit > keyword > throws
Next keywordtransient    Upkeyword    Previous keywordthrow   

throws
subjectfact 
throwshas example
// A method definition with a throws 
public void open_file() throws IOException {
// Statements here that might generate an uncaught java.op.IOException
}
2001-10-19 11:38:07.0
has purpose to indicate a throws clauseadded by: JK, 2001-10-19 11:38:07.0
is a subtopic of Exception Handling2001-10-19 11:38:07.0
is an instance of keyword2001-10-19 11:38:07.0
syntactic unithas syntax rule
bold = mandatory
italic = non-terminal
normal font = optional
2001-10-19 11:38:04.0