public class YAPI_Exception extends Exception
| Modifier and Type | Field and Description |
|---|---|
protected String |
_subStackTrace |
int |
errorType
Class used to report exceptions within Yocto-API Do not instantiate
directly
|
| Constructor and Description |
|---|
YAPI_Exception(int code,
String message) |
YAPI_Exception(int code,
String message,
Exception e) |
YAPI_Exception(String message) |
| Modifier and Type | Method and Description |
|---|---|
String |
getStackTraceToString() |
void |
printStackTrace() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, setStackTrace, toStringprotected String _subStackTrace
public int errorType
public YAPI_Exception(String message)
message - : a message that describe the issuepublic YAPI_Exception(int code,
String message)
code - : an error code defined in YAPImessage - : a message that describe the issuepublic String getStackTraceToString()
public void printStackTrace()
printStackTrace in class ThrowableCopyright © 2026. All rights reserved.