Class RestClientErrorException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.emc.documentum.rest.error.RestClientErrorException
All Implemented Interfaces:
Serializable

public class RestClientErrorException extends RuntimeException
This class represents exception caused by REST client
See Also:
  • Constructor Details

    • RestClientErrorException

      public RestClientErrorException(String code, Object[] args, org.springframework.http.HttpStatus status, String details)
      Constructor
      Parameters:
      code - error code
      args - error message arguments
      status - http status
      details - error detail
  • Method Details

    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable
    • getErrorCode

      public String getErrorCode()
      Get error code
      Returns:
      error code
    • getHttpStatus

      public org.springframework.http.HttpStatus getHttpStatus()
      Get http status
      Returns:
      http status
    • getDetails

      public String getDetails()
      Get detail
      Returns:
      detail
    • getArgs

      public Object[] getArgs()
      Get error arguments
      Returns:
      arguments