Class Error
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.visual_recognition.v4.model.Error
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class Error
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Details about an error.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Error.Code
Identifier of the problem. -
Constructor Summary
Constructors Constructor Description Error()
-
Method Summary
Modifier and Type Method Description String
getCode()
Gets the code.String
getMessage()
Gets the message.String
getMoreInfo()
Gets the moreInfo.ErrorTarget
getTarget()
Gets the target.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
Error
public Error()
-
-
Method Details
-
getCode
Gets the code.Identifier of the problem.
- Returns:
- the code
-
getMessage
Gets the message.An explanation of the problem with possible solutions.
- Returns:
- the message
-
getMoreInfo
Gets the moreInfo.A URL for more information about the solution.
- Returns:
- the moreInfo
-
getTarget
Gets the target.Details about the specific area of the problem.
- Returns:
- the target
-