5.4.2.5.2. Exception
<exception> is a child element of <method> and defines the exception thrown by the method.
Usage
1<method>
2 name=""
3 ...
4 <exception>
5 code instruction base
6
7 <apicommentline></apicommentline>
8 <devcommentline></devcommentline>
9 <import></import>
10 <annotation></annotation>
11 <datatype></datatype>
12 </exception>
13 ...
14</method>
Attributes
Name |
Details |
---|---|
code instruction base |
Sub elements
Name |
Details |
Number |
---|---|---|
apicommentline |
Javadoc that is attached to this method. |
0 or more |
devcommentline |
Commentary that is attached to this attribute. |
0 or more |
import |
All library elements specified as ‘import’ are translated as import statements. |
0 or more |
annotation |
Annotation defined for the attribute. |
0 or more |
datatype |
0 or 1 |