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

eu.scasefp7.base.ScaseException Maven / Gradle / Ivy

There is a newer version: 1.0.24
Show newest version
package eu.scasefp7.base;

public class ScaseException extends RuntimeException {

    private static final long serialVersionUID = 5046401925166235497L;

    private String fieldName;

    protected ScaseException() {}

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

    public ScaseException(Throwable throwable){
        super(throwable);
    }

    public ScaseException(String message, Throwable throwable){
        super(message, throwable);
    }

    public ScaseException( String message, String fieldName ) {
        this( message );
        this.fieldName = fieldName;
    }

    public String getFieldName() {
        return this.fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy