android.server.data
Class ThrowableData
java.lang.Object
android.server.data.ThrowableData
public class ThrowableData
- extends Object
Throwable data transfer object. Keep in sync. with the server side version.
message
final String message
type
final String type
stackTrace
final StackTraceElementData[] stackTrace
cause
final ThrowableData cause
ThrowableData
public ThrowableData(Throwable throwable)
ThrowableData
public ThrowableData(DataInput in)
throws IOException
- Throws:
IOException
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)
Please submit a feedback, bug or feature