Class ServerSideMilvusException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.milvus.client.exception.MilvusException
-
- io.milvus.client.exception.ServerSideMilvusException
-
- All Implemented Interfaces:
java.io.Serializable
public class ServerSideMilvusException extends MilvusException
Milvus exception from server side
-
-
Constructor Summary
Constructor Description ServerSideMilvusException(java.lang.String target, io.milvus.grpc.Status status)
-
Method Summary
Modifier and Type Method Description java.lang.Throwable
fillInStackTrace()
io.milvus.grpc.ErrorCode
getErrorCode()
java.lang.String
getErrorMessage()
java.lang.String
getReason()
-
Methods inherited from class io.milvus.client.exception.MilvusException
getMessage
-
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, 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
-
-
-
-
Constructor Detail
-
ServerSideMilvusException
public ServerSideMilvusException(java.lang.String target, io.milvus.grpc.Status status)
-
-
Method Detail
-
getErrorCode
public io.milvus.grpc.ErrorCode getErrorCode()
-
getReason
public java.lang.String getReason()
-
fillInStackTrace
public java.lang.Throwable fillInStackTrace()
- Overrides:
fillInStackTrace
in classMilvusException
-
getErrorMessage
public java.lang.String getErrorMessage()
- Overrides:
getErrorMessage
in classMilvusException
-
-