Build 1.0_r1(from source)

android.server.data
Class ThrowableData

java.lang.Object
  extended by android.server.data.ThrowableData

public class ThrowableData
extends Object

Throwable data transfer object. Keep in sync. with the server side version.


Field Summary
(package private)  ThrowableData cause
           
(package private)  String message
           
(package private)  StackTraceElementData[] stackTrace
           
(package private)  String type
           
 
Constructor Summary
ThrowableData(DataInput in)
           
ThrowableData(Throwable throwable)
           
 
Method Summary
 ThrowableData getCause()
           
 String getMessage()
           
 StackTraceElementData[] getStackTrace()
           
 String getType()
           
 String toString()
          Returns a string containing a concise, human-readable description of the receiver.
 String toString(String prefix)
           
 void write(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

message

final String message

type

final String type

stackTrace

final StackTraceElementData[] stackTrace

cause

final ThrowableData cause
Constructor Detail

ThrowableData

public ThrowableData(Throwable throwable)

ThrowableData

public ThrowableData(DataInput in)
              throws IOException
Throws:
IOException
Method Detail

write

public void write(DataOutput out)
           throws IOException
Throws:
IOException

getMessage

public String getMessage()

getType

public String getType()

getStackTrace

public StackTraceElementData[] getStackTrace()

getCause

public ThrowableData getCause()

toString

public String toString()
Description copied from class: Object
Returns a string containing a concise, human-readable description of the receiver.

Overrides:
toString in class Object
Returns:
String a printable representation for the receiver.

toString

public String toString(String prefix)

Build 1.0_r1(from source)

Please submit a feedback, bug or feature