Class RestApiException

java.lang.Object
org.bremersee.exception.model.RestApiException
All Implemented Interfaces:
Serializable

public class RestApiException extends Object implements Serializable
The serialized exception.
Author:
Christian Bremer
See Also:
  • 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 id
      timestamp - the timestamp
      status - the status
      error - the error
      errorCode - the error code
      errorCodeInherited - the error code inherited
      message - the message
      exception - the class name
      application - the application
      path - the path
      handler - the handler
      stackTrace - the stack trace
      cause - the cause
      furtherDetails - the further details
  • Method Details

    • getErrorCodeInherited

      public Boolean getErrorCodeInherited()
      Is the error code inherited from the cause.
      Returns:
      errorCodeInherited error code inherited
    • furtherDetails

      public void furtherDetails(String name, Object value)
      Any json setter.
      Parameters:
      name - the name
      value - the value
    • furtherDetails

      public Map<String,Object> furtherDetails()
      Further details map.
      Returns:
      the map