Class StatusException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.vertx.core.VertxException
io.vertx.grpc.server.StatusException
- All Implemented Interfaces:
Serializable
A glorified GOTO forcing a response status.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionStatusException(GrpcStatus status) StatusException(GrpcStatus status, String message) -
Method Summary
Methods inherited from class VertxException
noStackTrace, noStackTrace, noStackTraceMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
StatusException
-
StatusException
-
-
Method Details
-
status
- Returns:
- the status
-
message
- Returns:
- the status message
-