public class ApiException extends RuntimeException
Modifier and Type | Field and Description |
---|---|
int |
errorCode
The error code.
|
Constructor and Description |
---|
ApiException()
Initializes a new instance of the ApiException class.
|
ApiException(int errorCode,
String message)
Initializes a new instance of the ApiException class.
|
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode()
Returns error code.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ApiException()
public ApiException(int errorCode, String message)
errorCode
- message
- Copyright © 2019 Aspose Pty Ltd. All rights reserved.