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

org.noear.solon.ext.WarnThrowable Maven / Gradle / Ivy

There is a newer version: 3.0.5-M3
Show newest version
package org.noear.solon.ext;

import java.io.Serializable;

/**
 * @author noear
 * @since 1.3
 */
public class WarnThrowable extends RuntimeException implements Serializable {
    private Object attachment;

    /**
     * 附件
     * */
    public Object attachment(){
        return attachment;
    }

    public WarnThrowable() {
        super();
    }

    public WarnThrowable(Throwable cause) {
        super(cause);
    }

    public WarnThrowable(String message) {
        super(message);
    }

    public WarnThrowable(String message, Throwable cause) {
        super(message, cause);
    }

    public WarnThrowable(Object attachment, String message) {
        super(message);
        this.attachment = attachment;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy