
artoria.exception.ExceptionProperties 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.exception;
import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* Exception properties.
* @author Kahle
*/
@Deprecated // TODO: can delete
@ConfigurationProperties(prefix = "artoria.exception")
public class ExceptionProperties {
/**
* Enabled default exception handler.
*/
private Boolean enabled;
/**
* Enabled internal error page.
*/
private Boolean internalErrorPage = true;
/**
* Error display page base template path.
*/
private String baseTemplatePath = "/error";
public Boolean getEnabled() {
return enabled;
}
public void setEnabled(Boolean enabled) {
this.enabled = enabled;
}
public Boolean getInternalErrorPage() {
return internalErrorPage;
}
public void setInternalErrorPage(Boolean internalErrorPage) {
this.internalErrorPage = internalErrorPage;
}
public String getBaseTemplatePath() {
return baseTemplatePath;
}
public void setBaseTemplatePath(String baseTemplatePath) {
this.baseTemplatePath = baseTemplatePath;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy