lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey

LowpanException

public class LowpanException
extends Exception

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ com.google.android.things.lowpan.LowpanException
Known Direct Subclasses
Known Indirect Subclasses


Exception base class for LoWPAN-specific exceptions.

Summary

Public constructors

LowpanException()
LowpanException(String message)
LowpanException(String message, Throwable cause)
LowpanException(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

LowpanException

LowpanException ()

LowpanException

LowpanException (String message)

Parameters
message String

LowpanException

LowpanException (String message, 
                Throwable cause)

Parameters
message String

cause Throwable

LowpanException

LowpanException (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.