All Downloads are FREE. Search and download functionalities are using the official Maven repository.

club.zhcs.lina.starter.exception.event.ExceptionEvent Maven / Gradle / Ivy

There is a newer version: 3.3.4
Show newest version
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