类 Failure

  • 所有已实现的接口:
    java.io.Serializable

    public class Failure
    extends java.lang.Object
    implements java.io.Serializable
    The type Failure.
    另请参阅:
    序列化表格
    • 构造器概要

      构造器 
      构造器 说明
      Failure()
      Instantiates a new Failure.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      byte getCmd()
      Gets cmd.
      int getErrorCode()
      Gets error code.
      void setCmd​(byte cmd)
      Sets cmd.
      void setErrorCode​(int errorCode)
      Sets error code.
      java.lang.String toString()  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 构造器详细资料

      • Failure

        public Failure()
        Instantiates a new Failure.
    • 方法详细资料

      • getCmd

        public byte getCmd()
        Gets cmd.
        返回:
        the cmd
      • setCmd

        public void setCmd​(byte cmd)
        Sets cmd.
        参数:
        cmd - the cmd
      • setErrorCode

        public void setErrorCode​(int errorCode)
        Sets error code.
        参数:
        errorCode - the error code
      • getErrorCode

        public int getErrorCode()
        Gets error code.
        返回:
        the error code
      • toString

        public java.lang.String toString()
        覆盖:
        toString 在类中 java.lang.Object