Package com.emc.documentum.rest.error
Class RestClientErrorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.emc.documentum.rest.error.RestClientErrorException
- All Implemented Interfaces:
Serializable
This class represents exception caused by REST client
- See Also:
-
Constructor Summary
ConstructorDescriptionRestClientErrorException
(String code, Object[] args, org.springframework.http.HttpStatus status, String details) Constructor -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
Method Details
-
getMessage
- Overrides:
getMessage
in classThrowable
-
getErrorCode
Get error code- Returns:
- error code
-
getHttpStatus
public org.springframework.http.HttpStatus getHttpStatus()Get http status- Returns:
- http status
-
getDetails
Get detail- Returns:
- detail
-
getArgs
Get error arguments- Returns:
- arguments
-