Sequenceablepublic class ProcessErrorInfo extends Object implements Sequenceable
SystemCapability.Aafwk#ABILITYSequenceable.Producer<T>| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static int |
CRASHED |
Condition codes of crashed
|
static int |
NO_ERROR |
Condition codes of no error
|
static int |
NOT_RESPONDING |
Condition codes of not responding
|
static Sequenceable.Producer<ProcessErrorInfo> |
PRODUCER |
Creates a
ProcessErrorInfo instance from a Parcel. |
| 构造器 | 说明 |
|---|---|
ProcessErrorInfo() |
A constructor used to create a
ProcessErrorInfo instance. |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
int |
getCondition() |
Get the condition that the process is in.
|
String |
getLongMsg() |
Get a long message describing the error condition.
|
int |
getPid() |
Get the pid of this process.
|
String |
getProcessName() |
Get the process name in which the crash or error occurred.
|
String |
getShortMsg() |
Get a short message describing the error condition.
|
String |
getStackTrace() |
Get the stack trace where the error originated.
|
String |
getTag() |
Get the ability name associated with the error, if known.
|
int |
getUid() |
Get the user-ID that has been assigned to this process;.
|
boolean |
marshalling(Parcel out) |
Marshals this
Sequenceable object into a Parcel. |
String |
toString() |
Returns a string representation of the object.
|
boolean |
unmarshalling(Parcel in) |
Unmarshals this
Sequenceable object from a Parcel. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waithasFileDescriptorpublic static final int CRASHED
public static final int NOT_RESPONDING
public static final int NO_ERROR
public static final Sequenceable.Producer<ProcessErrorInfo> PRODUCER
ProcessErrorInfo instance from a Parcel.public ProcessErrorInfo()
ProcessErrorInfo instance.public int getCondition()
public String getProcessName()
public int getPid()
public int getUid()
public String getTag()
public String getShortMsg()
public String getLongMsg()
public String getStackTrace()
public boolean marshalling(Parcel out)
SequenceableSequenceable object into a Parcel.marshalling 在接口中 Sequenceableout - Indicates the Parcel object to which the Sequenceable
object will be marshaled..true if the marshalling is successful; returns false otherwise.public boolean unmarshalling(Parcel in)
SequenceableSequenceable object from a Parcel.unmarshalling 在接口中 Sequenceablein - Indicates the Parcel object into which the Sequenceable
object has been marshaled.true if the unmarshalling is successful; returns false otherwise.public String toString()
ObjecttoString method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())