CloudPlugs REST Library  1.0.0
for Android
PlugException Class Reference

A generic exception of CloudPlugs library. More...

Inheritance diagram for PlugException:

Public Member Functions

 PlugException ()
 
 PlugException (String msg)
 
 PlugException (Throwable t)
 
 PlugException (String msg, Throwable t)
 
String getStackTraceString ()
 

Static Public Member Functions

static String getStackTraceOf (Throwable t)
 

Detailed Description

A generic exception of CloudPlugs library.

Constructor & Destructor Documentation

◆ PlugException() [1/4]

◆ PlugException() [2/4]

PlugException ( String  msg)

◆ PlugException() [3/4]

PlugException ( Throwable  t)

◆ PlugException() [4/4]

PlugException ( String  msg,
Throwable  t 
)

Member Function Documentation

◆ getStackTraceOf()

static String getStackTraceOf ( Throwable  t)
static

Convenient class method to obtain the stack-trace String of a Throwable

Parameters
ta Throwable to obtain the stack-track
Returns
a printable stack-trace String rappresent the calling stack when the Throwable was been thrown

◆ getStackTraceString()

String getStackTraceString ( )
Returns
the stack-track String of this exception
See also
getStackTraceOf(Throwable)