org.eclipse.ecf.telephony.call
Class CallSessionFailureReason

java.lang.Object
  extended by 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
           
 
Constructor Summary
CallSessionFailureReason(int code)
           
CallSessionFailureReason(int code, java.lang.String reason)
           
 
Method Summary
 int getCode()
           
 java.lang.String getReason()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

code

protected int code

reason

protected java.lang.String reason
Constructor Detail

CallSessionFailureReason

public CallSessionFailureReason(int code,
                                java.lang.String reason)

CallSessionFailureReason

public CallSessionFailureReason(int code)
Method Detail

getReason

public java.lang.String getReason()

getCode

public int getCode()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object