javaException

The <javaException> element provides the declaration for the exceptions thrown by the execution of the method.

Description

A method declares executable code that can be invoked by passing a fixed number of values as arguments:

MethodDeclaration:
       MethodModifiersopt   ResultType  MethodDeclarator   Throwsopt    ClassBody
Throws:
       throws ClassType, ClassTypeList

Contained by

javaConstructorDef, javaMethodDef

Contains

apiDefNote, javaMethodClass

Content model

( (javaMethodClass) then (apiDefNote) (optional))

Inheritance

topic/ph reference/ph apiRef/apiDefItem apiOperation/apiEvent