public class ApiException extends RuntimeException
| Modifier and Type | Field and Description |
|---|---|
Error |
error
API error.
|
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.
|
ApiException(int errorCode,
String message,
Error error)
Initializes a new instance of the ApiException class.
|
| Modifier and Type | Method and Description |
|---|---|
Error |
getApiError()
Returns API error.
|
int |
getErrorCode()
Returns error code.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic int errorCode
public Error error
public ApiException()
public ApiException(int errorCode,
String message)
errorCode - message - public int getErrorCode()
public Error getApiError()
Copyright © 2025 Aspose Pty Ltd. All rights reserved.