File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
main/java/org/fugerit/java/core/xml/sax
test/java/test/org/fugerit/java/core/xml/sax Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -38,15 +38,15 @@ public SAXParser newSAXParser() throws XMLException {
3838 return SafeFunction .getEx ( () -> this .factory .newSAXParser (), XMLException .CONVERT_FUN );
3939 }
4040
41- public static XMLFactorySAX newInstance () throws XMLException {
41+ public static XMLFactorySAX newInstance () {
4242 return newInstance (false , false );
4343 }
4444
4545 public static XMLFactorySAX newInstanceSecure () throws XMLException {
4646 return newInstanceSecure (false );
4747 }
4848
49- public static XMLFactorySAX newInstance (boolean validating ) throws XMLException {
49+ public static XMLFactorySAX newInstance (boolean validating ) {
5050 return newInstance (validating , false );
5151 }
5252
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ public void testFinal() throws XMLException {
6262 }
6363
6464 @ Test
65- public void testEx () throws XMLException {
65+ public void testEx () {
6666 XMLFactorySAX factory = XMLFactorySAX .newInstance ();
6767 Assert .assertThrows ( XMLException .class , () -> factory .getFeature ( "test" ) );
6868 Assert .assertThrows ( XMLException .class , () -> factory .setFeature ( "test" , true ) );
You can’t perform that action at this time.
0 commit comments