java.lang.Object
org.summerboot.jexpress.nio.server.domain.Err<T>
Type Parameters:
T -

public class Err<T> extends Object
Author:
Changski Tie Zheng Zhang 张铁铮, 魏泽北, 杜旺财, 杜富贵
  • Field Details

    • errorCode

      protected String errorCode
    • errorTag

      protected String errorTag
    • errorDesc

      protected String errorDesc
    • cause

      protected Throwable cause
    • internalInfo

      protected T internalInfo
  • Constructor Details

  • Method Details

    • toJson

      public String toJson()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toStringEx

      protected String toStringEx(boolean isForInternalDebug)
    • getErrorCodeInt

      public int getErrorCodeInt()
    • setErrorCode

      public void setErrorCode(int errorCode)
    • getErrorCode

      public String getErrorCode()
    • setErrorCode

      public void setErrorCode(String errorCode)
    • getErrorTag

      public String getErrorTag()
    • setErrorTag

      public void setErrorTag(String errorTag)
    • getErrorDesc

      public String getErrorDesc()
    • setErrorDesc

      public void setErrorDesc(String errorDesc)
    • getCause

      public Throwable getCause()
    • setCause

      public void setCause(Throwable cause)
    • getInternalInfo

      public T getInternalInfo()
    • setInternalInfo

      public void setInternalInfo(T internalInfo)