qihoo.open.v1.model.common
类 Failure

java.lang.Object
  继承者 qihoo.open.v1.model.common.Failure

public class Failure
extends Object

调用远程报错时的对象

作者:
ygzhang

构造方法摘要
Failure()
           
 
方法摘要
 Integer getCode()
          错误的code
 String getDescription()
          错误的描述信息,再做基本操作时,只要是基本数据错误,会指出是那个属性有问题
 String getMessage()
          错误的信息,错误的具体原因
 void setCode(Integer code)
           
 void setDescription(String description)
           
 void setMessage(String message)
           
 String toString()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

Failure

public Failure()
方法详细信息

getCode

public Integer getCode()
错误的code


setCode

public void setCode(Integer code)

getMessage

public String getMessage()
错误的信息,错误的具体原因


setMessage

public void setMessage(String message)

getDescription

public String getDescription()
错误的描述信息,再做基本操作时,只要是基本数据错误,会指出是那个属性有问题


setDescription

public void setDescription(String description)

toString

public String toString()
覆盖:
Object 中的 toString


Copyright © 2013. All rights reserved.