
artoria.common.SimpleErrorCode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of artoria-extend Show documentation
Show all versions of artoria-extend Show documentation
Artoria is a java technology framework based on the facade pattern.
The newest version!
package artoria.common;
import artoria.data.ErrorCode;
public class SimpleErrorCode implements ErrorCode {
private String description;
private String code;
public SimpleErrorCode(String code, String description) {
this.code = code;
this.description = description;
}
public SimpleErrorCode() {
}
@Override
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
@Override
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
@Override
public String toString() {
return "SimpleErrorCode{" +
"code='" + code + '\'' +
", description='" + description + '\'' +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy