Class NetworkException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.fisco.bcos.sdk.network.NetworkException
All Implemented Interfaces:
java.io.Serializable

public class NetworkException
extends java.lang.Exception
Network exception
See Also:
Serialized Form
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static int CONNECT_FAILED  
    static int INIT_CONTEXT_FAILED  
    static int SSL_HANDSHAKE_FAILED  
  • Constructor Summary

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

    Modifier and Type Method Description
    int getErrorCode()  

    Methods inherited from class java.lang.Throwable

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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait