public class SyncException
extends java.lang.Exception
Constructor and Description |
---|
SyncException()
Constructs a "clear" object
|
SyncException(int errorCode,
java.lang.String errorMessage)
Constructs an object using the error code and message provided.
|
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode()
Get the error code
|
java.lang.String |
getErrorMessage()
Get the error message
|
public SyncException()
public SyncException(int errorCode, java.lang.String errorMessage)
errorCode
- - The error. Refer to OCAPI doc of a list of available error codes.errorMessage
- - A readable text message that provides extra information.