修复异常执行器再未进行自定义的情况下,会将异常堆栈吞掉的问题

This commit is contained in:
wind 2024-08-28 17:38:39 +08:00
parent eea34ace98
commit 2df3db09d9

View File

@ -2,6 +2,7 @@ package org.dromara.sms4j.api.proxy;
import org.dromara.sms4j.api.entity.SmsResponse;
import org.dromara.sms4j.comm.exception.SmsBlendException;
import java.lang.reflect.Method;
/**
@ -45,5 +46,6 @@ public interface SmsProcessor extends Order {
* @author :Wind
*/
default void exceptionHandleProcessor(Method method, Object source, Object[] param, Exception exception) throws RuntimeException {
throw new SmsBlendException(exception);
}
}