FileDocCategorySizeDatePackage
ImsException.javaAPI DocAndroid 5.1 API1361Thu Mar 12 22:22:52 GMT 2015com.android.ims

ImsException

public class ImsException extends Exception
This class defines a general IMS-related exception.
hide

Fields Summary
private int
mCode
Refer to CODE_LOCAL_* in {@link ImsReasonInfo}
Constructors Summary
public ImsException()

    
public ImsException(String message, int code)

        super(message + ", code = " + code);
        mCode = code;
    
public ImsException(String message, Throwable cause, int code)

        super(message, cause);
        mCode = code;
    
Methods Summary
public intgetCode()
Gets the detailed exception code when ImsException is throwed

return
the exception code in {@link ImsReasonInfo}

        return mCode;