
org.jsoftware.command.CommandFailureException Maven / Gradle / Ivy
package org.jsoftware.command;
/**
* @author szalik
*/
public class CommandFailureException extends Exception {
private Object source;
private String messageString, descriptionString;
public CommandFailureException(Object source, String message, String description) {
super(message + " - " + description);
this.source = source;
this.messageString = message;
this.descriptionString = description;
}
public CommandFailureException(String message) {
super(message);
this.messageString = message;
}
public Object getSource() {
return source;
}
public String getMessageString() {
return messageString;
}
public String getDescriptionString() {
return descriptionString;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy