
com.groupbyinc.common.util.exception.GroupByException Maven / Gradle / Ivy
package com.groupbyinc.common.util.exception;
/**
* General exception for internationalized messages
*
* @author Alan Czajkowski
*/
public abstract class GroupByException extends Exception {
/**
* message key
*/
private final String key;
public GroupByException(String key) {
super(key);
this.key = key;
}
public GroupByException(String key, Throwable throwable) {
super(throwable);
this.key = key;
}
public GroupByException(String key, String message) {
super(message);
this.key = key;
}
public GroupByException(String key, String message, Throwable throwable) {
super(message, throwable);
this.key = key;
}
public String getKey() {
return key;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy