
club.zhcs.lina.starter.exception.event.ExceptionEvent Maven / Gradle / Ivy
package club.zhcs.lina.starter.exception.event;
import org.springframework.context.ApplicationEvent;
/**
*
* @author Kerbores([email protected])
*
*/
public class ExceptionEvent extends ApplicationEvent {
Exception e;
/**
*
*/
private static final long serialVersionUID = 1L;
/**
* @param source
*/
public ExceptionEvent(Exception source) {
super(source);
this.e = source;
}
public static ExceptionEvent build(Exception source) {
return new ExceptionEvent(source);
}
public Exception getException() {
return e;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy