nRF Connect Device Manager
Toggle table of contents
3.5.0-alpha03
release
Target filter
release
Switch theme
Search in API
Skip to content
nRF Connect Device Manager
mcumgr-core
/
no.nordicsemi.android.mcumgr.exception
/
McuMgrErrorException
Mcu
Mgr
Error
Exception
open
class
McuMgrErrorException
:
McuMgrException
Used to convey errors caused by an
McuMgrErrorCode
within a response.
Members
Constructors
Mcu
Mgr
Error
Exception
Link copied to clipboard
constructor
(
@
NotNull
code
:
@
NotNull
McuMgrErrorCode
)
constructor
(
@
NotNull
code
:
@
NotNull
HasReturnCode.GroupReturnCode
)
constructor
(
@
NotNull
response
:
@
NotNull
McuMgrResponse
)
Properties
cause
Link copied to clipboard
open
val
cause
:
Throwable
stack
Trace
Link copied to clipboard
open
var
stackTrace
:
Array
<
StackTraceElement
>
Functions
add
Suppressed
Link copied to clipboard
fun
addSuppressed
(
exception
:
Throwable
)
fill
In
Stack
Trace
Link copied to clipboard
open
fun
fillInStackTrace
(
)
:
Throwable
get
Code
Link copied to clipboard
@
NotNull
open
fun
getCode
(
)
:
@
NotNull
McuMgrErrorCode
Get the code which caused this exception to be thrown.
get
Group
Code
Link copied to clipboard
open
fun
getGroupCode
(
)
:
HasReturnCode.GroupReturnCode
get
Localized
Message
Link copied to clipboard
open
fun
getLocalizedMessage
(
)
:
String
get
Message
Link copied to clipboard
open
fun
getMessage
(
)
:
String
get
Suppressed
Link copied to clipboard
fun
getSuppressed
(
)
:
Array
<
Throwable
>
init
Cause
Link copied to clipboard
open
fun
initCause
(
cause
:
Throwable
)
:
Throwable
print
Stack
Trace
Link copied to clipboard
open
fun
printStackTrace
(
)
to
String
Link copied to clipboard
open
fun
toString
(
)
:
String
@
NotNull
open
fun
toString
(
)
:
@
NotNull
String