org.eclipse.ecf.telephony.call
Class CallSessionFailureReason
java.lang.Object
org.eclipse.ecf.telephony.call.CallSessionFailureReason
public class CallSessionFailureReason
- extends java.lang.Object
A class to represent the reason for a failure. See ICallSession.getErrorDetails()
.
Field Summary |
protected int |
code
|
protected java.lang.String |
reason
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
code
protected int code
reason
protected java.lang.String reason
CallSessionFailureReason
public CallSessionFailureReason(int code,
java.lang.String reason)
CallSessionFailureReason
public CallSessionFailureReason(int code)
getReason
public java.lang.String getReason()
getCode
public int getCode()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object