-
Notifications
You must be signed in to change notification settings - Fork 20
/
fix_throws_javadoc.sed
22 lines (22 loc) · 2.21 KB
/
fix_throws_javadoc.sed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
s/^\( *\* *@throws \(java.lang.\)\{0,1\}Exception\).*$/\1 a general exception was thrown/
s/^\( *\* *@throws FileNotFoundException\).*$/\1 an attempt to open a file from a pathname has failed/
s/^\( *\* *@throws FontException\).*$/\1 there was an error in a font/
s/^\( *\* *@throws FontLoadingException\).*$/\1 there was an error loading a font/
s/^\( *\* *@throws IOException\).*$/\1 an I\/O operation failed or was interrupted/
s/^\( *\* *@throws IllegalArgumentException\).*$/\1 method has been passed an illegal or inappropriate argument/
s/^\( *\* *@throws InvalidFontException\).*$/\1 the font is invalid/
s/^\( *\* *@throws PDFConfigurationException\).*$/\1 there was a system problem configuring PDF support/
s/^\( *\* *@throws PDFFontException\).*$/\1 there was an error in the font set or an individual font/
s/^\( *\* *@throws PDFIOException\).*$/\1 there was an error reading or writing a PDF file or temporary caches/
s/^\( *\* *@throws PDFInvalidDocumentException\).*$/\1 a general problem with the PDF document, which may now be in an invalid state/
s/^\( *\* *@throws PDFInvalidParameterException\).*$/\1 one or more of the parameters passed to a method is invalid/
s/^\( *\* *@throws PDFSecurityException\).*$/\1 some general security issue occurred during the processing of the request/
s/^\( *\* *@throws PDFUnableToCompleteOperationException\).*$/\1 the operation was unable to be completed/
s/^\( *\* *@throws UnsupportedEncodingException\).*$/\1 the character encoding is not supported/
s/^\( *\* *@throws UnsupportedFontException\).*$/\1 the font is not supported/
s/^\( *\* *@throws ClassNotFoundException\).*$/\1 a class definition could not be found/
s/^\( *\* *@throws URISyntaxException\).*$/\1 a string could not be parsed as a URI reference/
s/^\( *\* *@throws PDFInvalidXMLException\).*$/\1 The XML passed to the method either directly or indirectly is invalid/
s/^\( *\* *@throws SAXException\).*$/\1 basic error or warning information from either the XML parser or the application/
s/^\( *\* *@throws TransformerException\).*$/\1 an exceptional condition that occured during the transformation process/
s/^\( *\* *@throws ParserConfigurationException\).*$/\1 a serious configuration error/