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() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected 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()
Copyright © 2023. All rights reserved.