Skip to content

Most visited

Recently visited

navigation

LowpanRuntimeException

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 printStackTrace().

Inherited methods

From class java.lang.Throwable
From class java.lang.Object

Public constructors

LowpanRuntimeException

LowpanRuntimeException ()

LowpanRuntimeException

LowpanRuntimeException (String message)

Parameters
message String

LowpanRuntimeException

LowpanRuntimeException (String message, 
                Throwable cause)

Parameters
message String
cause Throwable

LowpanRuntimeException

LowpanRuntimeException (Exception cause)

Parameters
cause Exception

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.
This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Follow Google Developers on WeChat

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience. (Dec 2017 Android Platform & Tools Survey)