Class ClientException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.fisco.bcos.sdk.client.exceptions.ClientException
All Implemented Interfaces:
java.io.Serializable

public class ClientException
extends java.lang.RuntimeException
Exceptioned when calling.
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    ClientException​(int errorCode, java.lang.String errorMessage, java.lang.String message)  
    ClientException​(java.lang.String message)  
    ClientException​(java.lang.String message, java.lang.Throwable cause)  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object o)  
    int getErrorCode()  
    java.lang.String getErrorMessage()  
    int hashCode()  
    void setErrorCode​(int errorCode)  
    void setErrorMessage​(java.lang.String errorMessage)  
    java.lang.String toString()  

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ClientException

      public ClientException​(int errorCode, java.lang.String errorMessage, java.lang.String message)
    • ClientException

      public ClientException​(java.lang.String message)
    • ClientException

      public ClientException​(java.lang.String message, java.lang.Throwable cause)
  • Method Details

    • getErrorCode

      public int getErrorCode()
    • setErrorCode

      public void setErrorCode​(int errorCode)
    • getErrorMessage

      public java.lang.String getErrorMessage()
    • setErrorMessage

      public void setErrorMessage​(java.lang.String errorMessage)
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Throwable
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object