Package com.antgroup.tugraph
Class TuGraphRpcException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.antgroup.tugraph.TuGraphRpcException
-
- All Implemented Interfaces:
Serializable
public class TuGraphRpcException extends RuntimeException
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description StringerrorLgraph.LGraphResponse.ErrorCodeerrorCodeStringerrorMethod
-
Constructor Summary
Constructors Constructor Description TuGraphRpcException(Lgraph.LGraphResponse.ErrorCode errorCode, String error, String errorMethod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringGetError()Lgraph.LGraphResponse.ErrorCodeGetErrorCode()StringGetErrorCodeName()StringGetErrorMethod()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
errorCode
public Lgraph.LGraphResponse.ErrorCode errorCode
-
error
public String error
-
errorMethod
public String errorMethod
-
-
Constructor Detail
-
TuGraphRpcException
public TuGraphRpcException(Lgraph.LGraphResponse.ErrorCode errorCode, String error, String errorMethod)
-
-
Method Detail
-
GetErrorCode
public Lgraph.LGraphResponse.ErrorCode GetErrorCode()
-
GetErrorCodeName
public String GetErrorCodeName()
-
GetError
public String GetError()
-
GetErrorMethod
public String GetErrorMethod()
-
-