com.admin4j.common.exception.WrapMessageException Maven / Gradle / Ivy
package com.admin4j.common.exception;
/**
* 只包装了 错误信息 的 {@link RuntimeException}.
* 用于 {@link com.sprainkle.spring.cloud.advance.common.core.exception.assertion.Assert} 中用于包装自定义异常信息
*
* @author andnayang
* @date 2020/6/20
*/
public class WrapMessageException extends RuntimeException {
public WrapMessageException(String message) {
super(message);
}
public WrapMessageException(String message, Throwable cause) {
super(message, cause);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy