public class BusinessException extends RuntimeException implements Serializable
| Constructor and Description |
|---|
BusinessException() |
BusinessException(String detail) |
BusinessException(String summary,
javax.faces.application.FacesMessage.Severity severity) |
BusinessException(String summary,
javax.faces.application.FacesMessage.Severity severity,
String idToFocus) |
BusinessException(String summary,
String detail) |
BusinessException(String summary,
String detail,
javax.faces.application.FacesMessage.Severity severity) |
BusinessException(String summary,
String detail,
String idToFocus) |
BusinessException(Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
BusinessException |
addException(BusinessException be) |
void |
build() |
String |
getDetail() |
List<BusinessException> |
getExceptionList() |
String |
getFieldId() |
javax.faces.application.FacesMessage.Severity |
getSeverity() |
String |
getSummary() |
BusinessException |
setDetail(String detail) |
BusinessException |
setExceptionList(List<BusinessException> exceptionList) |
BusinessException |
setFieldId(String fieldId) |
BusinessException |
setSeverity(javax.faces.application.FacesMessage.Severity severity) |
BusinessException |
setSummary(String summary) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic BusinessException()
public BusinessException(Throwable cause)
public BusinessException(String detail)
detail - exception detailpublic BusinessException(String summary, String detail)
summary - exception summarydetail - exception detailpublic BusinessException(String summary, javax.faces.application.FacesMessage.Severity severity)
summary - exception summaryseverity - Faces message severitypublic BusinessException(String summary, javax.faces.application.FacesMessage.Severity severity, String idToFocus)
summary - exception summaryseverity - Faces message severityidToFocus - view component id to scroll to when exception occurspublic BusinessException(String summary, String detail, String idToFocus)
summary - exception summarydetail - exception detailidToFocus - view component id to scroll to when exception occurspublic String getDetail()
public BusinessException setDetail(String detail)
public String getSummary()
public BusinessException setSummary(String summary)
public javax.faces.application.FacesMessage.Severity getSeverity()
public String getFieldId()
public BusinessException setFieldId(String fieldId)
public BusinessException setSeverity(javax.faces.application.FacesMessage.Severity severity)
public List<BusinessException> getExceptionList()
public BusinessException setExceptionList(List<BusinessException> exceptionList)
public BusinessException addException(BusinessException be)
public void build()
Copyright © 2022. All rights reserved.