Class ExceptionResponse
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.platform_services.iam_identity.v1.model.ExceptionResponse
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ExceptionResponse extends com.ibm.cloud.sdk.core.service.model.GenericModelResponse body parameters in case of error situations.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponseContextgetContext()Gets the context.java.util.List<Error>getErrors()Gets the errors.java.lang.StringgetStatusCode()Gets the statusCode.java.lang.StringgetTrace()Gets the trace.
-
-
-
Method Detail
-
getContext
public ResponseContext getContext()
Gets the context. Context with key properties for problem determination.- Returns:
- the context
-
getStatusCode
public java.lang.String getStatusCode()
Gets the statusCode. Error message code of the REST Exception.- Returns:
- the statusCode
-
getErrors
public java.util.List<Error> getErrors()
Gets the errors. List of errors that occured.- Returns:
- the errors
-
getTrace
public java.lang.String getTrace()
Gets the trace. Unique ID of the requst.- Returns:
- the trace
-
-