Build 1.0_r1(from source)

android.server.data
Class CrashData

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

public class CrashData
extends Object

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


Field Summary
(package private)  String activity
           
(package private)  BuildData buildData
           
(package private)  String id
           
(package private)  byte[] state
           
(package private)  ThrowableData throwableData
           
(package private)  long time
           
 
Constructor Summary
CrashData(DataInput in)
           
CrashData(String id, String activity, BuildData buildData, ThrowableData throwableData)
           
CrashData(String id, String activity, BuildData buildData, ThrowableData throwableData, byte[] state)
           
CrashData(String tag, Throwable throwable)
           
 
Method Summary
 String getActivity()
           
 BuildData getBuildData()
           
 String getId()
           
 byte[] getState()
           
 ThrowableData getThrowableData()
           
 long getTime()
           
 String toString()
          Return a brief description of this CrashData record.
 void write(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

final String id

activity

final String activity

time

final long time

buildData

final BuildData buildData

throwableData

final ThrowableData throwableData

state

final byte[] state
Constructor Detail

CrashData

public CrashData(String id,
                 String activity,
                 BuildData buildData,
                 ThrowableData throwableData)

CrashData

public CrashData(String id,
                 String activity,
                 BuildData buildData,
                 ThrowableData throwableData,
                 byte[] state)

CrashData

public CrashData(DataInput in)
          throws IOException
Throws:
IOException

CrashData

public CrashData(String tag,
                 Throwable throwable)
Method Detail

write

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

getBuildData

public BuildData getBuildData()

getThrowableData

public ThrowableData getThrowableData()

getId

public String getId()

getActivity

public String getActivity()

getTime

public long getTime()

getState

public byte[] getState()

toString

public String toString()
Return a brief description of this CrashData record. The details of the representation are subject to change.

Overrides:
toString in class Object
Returns:
Returns a String representing the contents of the object.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature