public class RemoteError extends GenericModel
Constructor and Description |
---|
RemoteError(String message,
int code)
Instantiates a new remote error.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Gets the code.
|
String |
getMessage()
Gets the message.
|
equals, hashCode, toString
public RemoteError(String message, int code)
message
- the messagecode
- the codepublic String getMessage()
public int getCode()
Copyright © 2015–2016 IBM Watson. All rights reserved.