Skip to content

Commit 7954363

Browse files
committed
Fixed #SWS-68 No way to propagate exception from an AbstractSaxPayloadEndpoint
1 parent 8267e45 commit 7954363

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/main/java/org/springframework/ws/endpoint/AbstractSaxPayloadEndpoint.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public final Source invoke(Source request) throws Exception {
5757
*
5858
* @return a SAX content handler to be used for parsing
5959
*/
60-
protected abstract ContentHandler createContentHandler();
60+
protected abstract ContentHandler createContentHandler() throws Exception;
6161

6262
/**
6363
* Returns the response to be given, if any. This method is called after the request payload has been parse using
@@ -66,5 +66,5 @@ public final Source invoke(Source request) throws Exception {
6666
*
6767
* @param contentHandler the content handler used to parse the request
6868
*/
69-
protected abstract Source getResponse(ContentHandler contentHandler);
69+
protected abstract Source getResponse(ContentHandler contentHandler) throws Exception;
7070
}

0 commit comments

Comments
 (0)