Uses of Class
org.bremersee.exception.ServiceException
-
Uses of ServiceException in org.bremersee.exception
Modifier and TypeClassDescriptionclass
AbstractServiceExceptionBuilder<T extends ServiceException>
The abstract service exception builder.interface
ServiceExceptionBuilder<T extends ServiceException>
The service exception builder.Modifier and TypeMethodDescriptionstatic ServiceException
ServiceException.alreadyExists()
Already exists service exception.static ServiceException
ServiceException.alreadyExists
(Object entityName) Already exists service exception.static ServiceException
ServiceException.alreadyExists
(String entityType, Object entityName) Already exists service exception.static ServiceException
ServiceException.alreadyExistsWithErrorCode
(Object entityName, String errorCode) Already exists with error code service exception.static ServiceException
ServiceException.alreadyExistsWithErrorCode
(String entityType, Object entityName, String errorCode) Already exists with error code service exception.static ServiceException
ServiceException.badRequest()
Bad request service exception.static ServiceException
ServiceException.badRequest
(String reason) Bad request service exception.static ServiceException
ServiceException.badRequest
(String reason, String errorCode) Bad request service exception.static ServiceException
ServiceException.badRequest
(String reason, String errorCode, Throwable cause) Bad request service exception.static ServiceException
ServiceException.badRequest
(String reason, Throwable cause) Bad request service exception.static ServiceException
ServiceException.forbidden()
Forbidden service exception.static ServiceException
Forbidden service exception.static ServiceException
Forbidden service exception.static ServiceException
ServiceException.forbiddenWithErrorCode
(Object entityName, String errorCode) Forbidden with error code service exception.static ServiceException
ServiceException.forbiddenWithErrorCode
(String errorCode) Forbidden with error code service exception.static ServiceException
ServiceException.forbiddenWithErrorCode
(String entityType, Object entityName, String errorCode) Forbidden with error code service exception.static ServiceException
ServiceException.internalServerError()
Internal server error service exception.static ServiceException
ServiceException.internalServerError
(String reason) Internal server error service exception.static ServiceException
ServiceException.internalServerError
(String reason, String errorCode) Internal server error service exception.static ServiceException
ServiceException.internalServerError
(String reason, String errorCode, Throwable cause) Internal server error service exception.static ServiceException
ServiceException.internalServerError
(String reason, Throwable cause) Internal server error service exception.static ServiceException
ServiceException.notFound()
Not found service exception.static ServiceException
Not found service exception.static ServiceException
Not found service exception.static ServiceException
ServiceException.notFoundWithErrorCode
(Object entityName, String errorCode) Not found with error code service exception.static ServiceException
ServiceException.notFoundWithErrorCode
(String entityType, Object entityName, String errorCode) Not found with error code service exception.Modifier and TypeMethodDescriptionstatic ServiceExceptionBuilder<? extends ServiceException>
ServiceException.builder()
Creates new exception builder.Modifier and TypeMethodDescriptionAbstractServiceExceptionBuilder.from
(ServiceException serviceException) ServiceExceptionBuilder.from
(ServiceException serviceException) From another service exception.