Package org.bremersee.exception.model
Class RestApiException
java.lang.Object
org.bremersee.exception.model.RestApiException
- All Implemented Interfaces:
Serializable
The serialized exception.
- Author:
- Christian Bremer
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRestApiException(String id, OffsetDateTime timestamp, Integer status, String error, String errorCode, Boolean errorCodeInherited, String message, String exception, String application, String path, Handler handler, List<StackTraceItem> stackTrace, RestApiException cause, Map<String, Object> furtherDetails) Instantiates a new rest api exception. -
Method Summary
Modifier and TypeMethodDescriptionFurther details map.voidfurtherDetails(String name, Object value) Any json setter.Is the error code inherited from the cause.
-
Constructor Details
-
RestApiException
protected RestApiException(String id, OffsetDateTime timestamp, Integer status, String error, String errorCode, Boolean errorCodeInherited, String message, String exception, String application, String path, Handler handler, List<StackTraceItem> stackTrace, RestApiException cause, Map<String, Object> furtherDetails) Instantiates a new rest api exception.- Parameters:
id- the idtimestamp- the timestampstatus- the statuserror- the errorerrorCode- the error codeerrorCodeInherited- the error code inheritedmessage- the messageexception- the class nameapplication- the applicationpath- the pathhandler- the handlerstackTrace- the stack tracecause- the causefurtherDetails- the further details
-
-
Method Details
-
getErrorCodeInherited
Is the error code inherited from the cause.- Returns:
- errorCodeInherited error code inherited
-
furtherDetails
Any json setter.- Parameters:
name- the namevalue- the value
-
furtherDetails
Further details map.- Returns:
- the map
-