Skip to content

Commit 8108324

Browse files
fix: add throws to method signature
1 parent 51cda1c commit 8108324

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/main/java/dev/resms/services/sms

src/main/java/dev/resms/services/sms/Sms.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public Sms(final String apiKey) {
2727
* @return The response indicating the status of the sms sending.
2828
* @throws ReSMSException If an error occurs while sending the SMS.
2929
*/
30-
public SendSmsResponse send(SendSmsOptions sendSmsOptions) {
30+
public SendSmsResponse send(SendSmsOptions sendSmsOptions) throws ReSMSException {
3131
SendSmsOptionsValidator.validate(sendSmsOptions);
3232

3333
String payload = super.reSMSMapper.toJson(sendSmsOptions);

0 commit comments

Comments
 (0)