Skip to content

Commit 0319dd5

Browse files
Tidy up method signature
1 parent bd8fc53 commit 0319dd5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/main/java/com/ibm/mq/kafkaconnect/JMSReader.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import com.ibm.mq.jms.*;
2121
import com.ibm.mq.kafkaconnect.builders.RecordBuilder;
2222
import com.ibm.msg.client.wmq.WMQConstants;
23+
2324
import java.util.Map;
2425
import java.util.concurrent.atomic.AtomicBoolean;
2526

@@ -134,11 +135,8 @@ public void configure(Map<String, String> props) {
134135

135136
/**
136137
* Connects to MQ.
137-
*
138-
* @throws RetriableException Operation failed, but connector should continue to retry.
139-
* @throws ConnectException Operation failed and connector should stop.
140138
*/
141-
public void connect() throws ConnectException, RetriableException {
139+
public void connect() {
142140
try {
143141
if (userName != null) {
144142
jmsCtxt = mqConnFactory.createContext(userName, password, JMSContext.SESSION_TRANSACTED);

0 commit comments

Comments
 (0)