LowpanRuntimeException
public
class
LowpanRuntimeException
extends RuntimeException
java.lang.Object | ||||
↳ | java.lang.Throwable | |||
↳ | java.lang.Exception | |||
↳ | java.lang.RuntimeException | |||
↳ | com.google.android.things.lowpan.LowpanRuntimeException |
Runtime exceptions specific to LoWPAN operations.
See also:
Summary
Public constructors | |
---|---|
LowpanRuntimeException()
|
|
LowpanRuntimeException(String message)
|
|
LowpanRuntimeException(String message, Throwable cause)
|
|
LowpanRuntimeException(Exception cause)
|
Public methods | |
---|---|
StackTraceElement[]
|
getStackTrace()
Provides programmatic access to the stack trace information printed by
|
Inherited methods | |
---|---|
From
class
java.lang.Throwable
| |
From
class
java.lang.Object
|
Public constructors
LowpanRuntimeException
LowpanRuntimeException ()
LowpanRuntimeException
LowpanRuntimeException (String message, Throwable cause)
Parameters | |
---|---|
message |
String |
cause |
Throwable |
Public methods
getStackTrace
StackTraceElement[] getStackTrace ()
Provides programmatic access to the stack trace information printed by
printStackTrace()
. Returns an array of stack trace elements,
each representing one stack frame. The zeroth element of the array
(assuming the array's length is non-zero) represents the top of the
stack, which is the last method invocation in the sequence. Typically,
this is the point at which this throwable was created and thrown.
The last element of the array (assuming the array's length is non-zero)
represents the bottom of the stack, which is the first method invocation
in the sequence.
Some virtual machines may, under some circumstances, omit one
or more stack frames from the stack trace. In the extreme case,
a virtual machine that has no stack trace information concerning
this throwable is permitted to return a zero-length array from this
method. Generally speaking, the array returned by this method will
contain one element for every frame that would be printed by
printStackTrace
. Writes to the returned array do not
affect future calls to this method.
Returns | |
---|---|
StackTraceElement[] |
an array of stack trace elements representing the stack trace pertaining to this throwable. |
Classes
Exceptions