Uses of Class
org.bremersee.exception.ServiceException
Packages that use ServiceException
-
Uses of ServiceException in org.bremersee.exception
Classes in org.bremersee.exception with type parameters of type ServiceExceptionModifier and TypeClassDescriptionclass
AbstractServiceExceptionBuilder<T extends ServiceException>
The abstract service exception builder.interface
ServiceExceptionBuilder<T extends ServiceException>
The service exception builder.Methods in org.bremersee.exception that return ServiceExceptionModifier 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.Methods in org.bremersee.exception that return types with arguments of type ServiceExceptionModifier and TypeMethodDescriptionstatic ServiceExceptionBuilder<? extends ServiceException>
ServiceException.builder()
Creates new exception builder.Methods in org.bremersee.exception with parameters of type ServiceExceptionModifier and TypeMethodDescriptionAbstractServiceExceptionBuilder.from
(ServiceException serviceException) ServiceExceptionBuilder.from
(ServiceException serviceException) From another service exception.