Class Error
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.platform_services.iam_identity.v1.model.Error
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class Error extends com.ibm.cloud.sdk.core.service.model.GenericModelError information.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCode()Gets the code.java.lang.StringgetDetails()Gets the details.java.lang.StringgetMessage()Gets the message.java.lang.StringgetMessageCode()Gets the messageCode.
-
-
-
Method Detail
-
getCode
public java.lang.String getCode()
Gets the code. Error code of the REST Exception.- Returns:
- the code
-
getMessageCode
public java.lang.String getMessageCode()
Gets the messageCode. Error message code of the REST Exception.- Returns:
- the messageCode
-
getMessage
public java.lang.String getMessage()
Gets the message. Error message of the REST Exception. Error messages are derived base on the input locale of the REST request and the available Message catalogs. Dynamic fallback to 'us-english' is happening if no message catalog is available for the provided input locale.- Returns:
- the message
-
getDetails
public java.lang.String getDetails()
Gets the details. Error details of the REST Exception.- Returns:
- the details
-
-