Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractServiceExceptionBuilder<T extends ServiceException> - Class in org.bremersee.exception
-
The abstract service exception builder.
- AbstractServiceExceptionBuilder() - Constructor for class org.bremersee.exception.AbstractServiceExceptionBuilder
- alreadyExists() - Static method in exception org.bremersee.exception.ServiceException
-
Already exists service exception.
- alreadyExists(Object) - Static method in exception org.bremersee.exception.ServiceException
-
Already exists service exception.
- alreadyExists(String, Object) - Static method in exception org.bremersee.exception.ServiceException
-
Already exists service exception.
- alreadyExistsWithErrorCode(Object, String) - Static method in exception org.bremersee.exception.ServiceException
-
Already exists with error code service exception.
- alreadyExistsWithErrorCode(String, Object, String) - Static method in exception org.bremersee.exception.ServiceException
-
Already exists with error code service exception.
B
- badRequest() - Static method in exception org.bremersee.exception.ServiceException
-
Bad request service exception.
- badRequest(String) - Static method in exception org.bremersee.exception.ServiceException
-
Bad request service exception.
- badRequest(String, String) - Static method in exception org.bremersee.exception.ServiceException
-
Bad request service exception.
- badRequest(String, String, Throwable) - Static method in exception org.bremersee.exception.ServiceException
-
Bad request service exception.
- badRequest(String, Throwable) - Static method in exception org.bremersee.exception.ServiceException
-
Bad request service exception.
- build() - Method in class org.bremersee.exception.AbstractServiceExceptionBuilder
- build() - Method in interface org.bremersee.exception.ServiceExceptionBuilder
-
Build the service exception.
- builder() - Static method in exception org.bremersee.exception.ServiceException
-
Creates new exception builder.
- buildWith(int, String) - Method in class org.bremersee.exception.AbstractServiceExceptionBuilder
-
Build the service exception with the given values.
- buildWith(int, String, String) - Method in class org.bremersee.exception.AbstractServiceExceptionBuilder
-
Build the service exception with the given values.
- buildWith(int, String, String, Throwable) - Method in class org.bremersee.exception.AbstractServiceExceptionBuilder
-
Build the service exception with the given values.
- buildWith(int, String, Throwable) - Method in class org.bremersee.exception.AbstractServiceExceptionBuilder
-
Build the service exception with the given values.
C
- cause - Variable in class org.bremersee.exception.AbstractServiceExceptionBuilder
-
The cause.
- cause(Throwable) - Method in class org.bremersee.exception.AbstractServiceExceptionBuilder
- cause(Throwable) - Method in interface org.bremersee.exception.ServiceExceptionBuilder
-
Sets cause on service exception builder.
E
- ERROR_CODE_ALREADY_EXISTS - Static variable in exception org.bremersee.exception.ServiceException
-
Default error code for an 'already exists exception'.
- errorCode - Variable in class org.bremersee.exception.AbstractServiceExceptionBuilder
-
The error code.
- errorCode(String) - Method in class org.bremersee.exception.AbstractServiceExceptionBuilder
- errorCode(String) - Method in interface org.bremersee.exception.ServiceExceptionBuilder
-
Sets error code on service exception builder.
- ErrorCode - Annotation Interface in org.bremersee.exception.annotation
-
Marks an exception class or method with an error code
value()
of the application. - ErrorCodeAware - Interface in org.bremersee.exception
-
Marker interface to get an error code.
F
- forbidden() - Static method in exception org.bremersee.exception.ServiceException
-
Forbidden service exception.
- forbidden(Object) - Static method in exception org.bremersee.exception.ServiceException
-
Forbidden service exception.
- forbidden(String, Object) - Static method in exception org.bremersee.exception.ServiceException
-
Forbidden service exception.
- forbiddenWithErrorCode(Object, String) - Static method in exception org.bremersee.exception.ServiceException
-
Forbidden with error code service exception.
- forbiddenWithErrorCode(String) - Static method in exception org.bremersee.exception.ServiceException
-
Forbidden with error code service exception.
- forbiddenWithErrorCode(String, Object, String) - Static method in exception org.bremersee.exception.ServiceException
-
Forbidden with error code service exception.
- from(ServiceException) - Method in class org.bremersee.exception.AbstractServiceExceptionBuilder
- from(ServiceException) - Method in interface org.bremersee.exception.ServiceExceptionBuilder
-
From another service exception.
G
- getErrorCode() - Method in interface org.bremersee.exception.ErrorCodeAware
-
Gets the error code.
H
- httpStatus - Variable in class org.bremersee.exception.AbstractServiceExceptionBuilder
-
The http status.
- httpStatus(int) - Method in class org.bremersee.exception.AbstractServiceExceptionBuilder
- httpStatus(int) - Method in interface org.bremersee.exception.ServiceExceptionBuilder
-
Sets http status on service exception builder.
- HttpStatusAware - Interface in org.bremersee.exception
-
Marker interface to get the HTTP status code.
I
- internalServerError() - Static method in exception org.bremersee.exception.ServiceException
-
Internal server error service exception.
- internalServerError(String) - Static method in exception org.bremersee.exception.ServiceException
-
Internal server error service exception.
- internalServerError(String, String) - Static method in exception org.bremersee.exception.ServiceException
-
Internal server error service exception.
- internalServerError(String, String, Throwable) - Static method in exception org.bremersee.exception.ServiceException
-
Internal server error service exception.
- internalServerError(String, Throwable) - Static method in exception org.bremersee.exception.ServiceException
-
Internal server error service exception.
N
- NO_ERROR_CODE_VALUE - Static variable in interface org.bremersee.exception.ErrorCodeAware
-
The default value of the 'code' attribute.
- notFound() - Static method in exception org.bremersee.exception.ServiceException
-
Not found service exception.
- notFound(Object) - Static method in exception org.bremersee.exception.ServiceException
-
Not found service exception.
- notFound(String, Object) - Static method in exception org.bremersee.exception.ServiceException
-
Not found service exception.
- notFoundWithErrorCode(Object, String) - Static method in exception org.bremersee.exception.ServiceException
-
Not found with error code service exception.
- notFoundWithErrorCode(String, Object, String) - Static method in exception org.bremersee.exception.ServiceException
-
Not found with error code service exception.
O
- org.bremersee.exception - package org.bremersee.exception
- org.bremersee.exception.annotation - package org.bremersee.exception.annotation
R
- reason - Variable in class org.bremersee.exception.AbstractServiceExceptionBuilder
-
The reason.
- reason(String) - Method in class org.bremersee.exception.AbstractServiceExceptionBuilder
- reason(String) - Method in interface org.bremersee.exception.ServiceExceptionBuilder
-
Sets reason on service exception builder.
S
- ServiceException - Exception in org.bremersee.exception
-
General service exception with http status code and error code.
- ServiceException() - Constructor for exception org.bremersee.exception.ServiceException
-
Instantiates a new service exception.
- ServiceException(int, String) - Constructor for exception org.bremersee.exception.ServiceException
-
Instantiates a new service exception.
- ServiceException(int, String, String) - Constructor for exception org.bremersee.exception.ServiceException
-
Instantiates a new service exception.
- ServiceException(int, String, String, Throwable) - Constructor for exception org.bremersee.exception.ServiceException
-
Instantiates a new service exception.
- ServiceException(int, String, Throwable) - Constructor for exception org.bremersee.exception.ServiceException
-
Instantiates a new service exception.
- ServiceExceptionBuilder<T extends ServiceException> - Interface in org.bremersee.exception
-
The service exception builder.
- status() - Method in interface org.bremersee.exception.HttpStatusAware
-
Gets the HTTP status code.
- status() - Method in exception org.bremersee.exception.ServiceException
-
Get the http status.
V
- value() - Element in annotation interface org.bremersee.exception.annotation.ErrorCode
-
The error code of the exception in addition to the HTTP status code.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form