mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
rename
This commit is contained in:
parent
61252da8cb
commit
66c7638a87
@ -282,7 +282,7 @@ public class ListServiceLoader<S> extends AbsServiceLoader<S> {
|
|||||||
* @param msg 消息
|
* @param msg 消息
|
||||||
*/
|
*/
|
||||||
private void fail(final Resource resource, final int lineNo, final String msg) {
|
private void fail(final Resource resource, final int lineNo, final String msg) {
|
||||||
throw new SPIException(this.serviceClass + ":" + resource.getUrl() + ":" + lineNo + ": " + msg);
|
throw new SpiException(this.serviceClass + ":" + resource.getUrl() + ":" + lineNo + ": " + msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -19,7 +19,7 @@ import org.dromara.hutool.core.exception.HutoolException;
|
|||||||
*
|
*
|
||||||
* @author looly
|
* @author looly
|
||||||
*/
|
*/
|
||||||
public class SPIException extends HutoolException {
|
public class SpiException extends HutoolException {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -27,7 +27,7 @@ public class SPIException extends HutoolException {
|
|||||||
*
|
*
|
||||||
* @param e 异常
|
* @param e 异常
|
||||||
*/
|
*/
|
||||||
public SPIException(final Throwable e) {
|
public SpiException(final Throwable e) {
|
||||||
super(e);
|
super(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -36,7 +36,7 @@ public class SPIException extends HutoolException {
|
|||||||
*
|
*
|
||||||
* @param message 消息
|
* @param message 消息
|
||||||
*/
|
*/
|
||||||
public SPIException(final String message) {
|
public SpiException(final String message) {
|
||||||
super(message);
|
super(message);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -46,7 +46,7 @@ public class SPIException extends HutoolException {
|
|||||||
* @param messageTemplate 消息模板
|
* @param messageTemplate 消息模板
|
||||||
* @param params 参数
|
* @param params 参数
|
||||||
*/
|
*/
|
||||||
public SPIException(final String messageTemplate, final Object... params) {
|
public SpiException(final String messageTemplate, final Object... params) {
|
||||||
super(messageTemplate, params);
|
super(messageTemplate, params);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -56,7 +56,7 @@ public class SPIException extends HutoolException {
|
|||||||
* @param message 消息
|
* @param message 消息
|
||||||
* @param cause 被包装的子异常
|
* @param cause 被包装的子异常
|
||||||
*/
|
*/
|
||||||
public SPIException(final String message, final Throwable cause) {
|
public SpiException(final String message, final Throwable cause) {
|
||||||
super(message, cause);
|
super(message, cause);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -68,7 +68,7 @@ public class SPIException extends HutoolException {
|
|||||||
* @param enableSuppression 是否启用抑制
|
* @param enableSuppression 是否启用抑制
|
||||||
* @param writableStackTrace 堆栈跟踪是否应该是可写的
|
* @param writableStackTrace 堆栈跟踪是否应该是可写的
|
||||||
*/
|
*/
|
||||||
public SPIException(final String message, final Throwable cause, final boolean enableSuppression, final boolean writableStackTrace) {
|
public SpiException(final String message, final Throwable cause, final boolean enableSuppression, final boolean writableStackTrace) {
|
||||||
super(message, cause, enableSuppression, writableStackTrace);
|
super(message, cause, enableSuppression, writableStackTrace);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -79,7 +79,7 @@ public class SPIException extends HutoolException {
|
|||||||
* @param messageTemplate 消息模板
|
* @param messageTemplate 消息模板
|
||||||
* @param params 参数
|
* @param params 参数
|
||||||
*/
|
*/
|
||||||
public SPIException(final Throwable cause, final String messageTemplate, final Object... params) {
|
public SpiException(final Throwable cause, final String messageTemplate, final Object... params) {
|
||||||
super(cause, messageTemplate, params);
|
super(cause, messageTemplate, params);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user