From Apache OpenOffice Wiki
< Documentation‎ | DevGuide
Revision as of 13:52, 22 December 2020 by DiGro (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Exceptions are special classes which describe exceptional states.


Exception identifiers begin with a capital uppercase letter, and are put in initial caps and always end with Exception, for example, com.sun.star.lang.IllegalArgumentException. Avoid abbreviations.


The Apache OpenOffice API uses exceptions as the general error handling concept. However, the API should be designed that it is possible to avoid exceptions in typical error situations, such as opening non-existent files.

Content on this page is licensed under the Public Documentation License (PDL).
Personal tools
In other languages