Class VertxException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.vertx.core.VertxException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BadRequestException, ClosedConnectionException, ConnectionPoolTooBusyException, DatabaseException, DnsException, FileSystemException, GrpcErrorException, HttpClosedException, InvalidMessageException, InvalidStatusException, MalformedValueException, MySQLBatchException, ReplyException, SchemaException, SMTPException, StatusException, StreamResetException, TransactionRollbackException, UpgradeRejectedException, ValidationException
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionVertxException(String message) Create an instance given a messageVertxException(String message, boolean noStackTrace) Create an instance given a messageVertxException(String message, Throwable cause) Create an instance given a message and a causeVertxException(String message, Throwable cause, boolean noStackTrace) Create an instance given a messageVertxException(Throwable cause) Create an instance given a causeVertxException(Throwable cause, boolean noStackTrace) Create an instance given a message -
Method Summary
Modifier and TypeMethodDescriptionstatic VertxExceptionnoStackTrace(String msg) Create an exception that does not capture a stack trace.static VertxExceptionnoStackTrace(String msg, Throwable cause) Create an exception that does not capture a stack trace.static VertxExceptionnoStackTrace(Throwable cause) Create an exception that does not capture a stack trace.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
VertxException
Create an instance given a message- Parameters:
message- the message
-
VertxException
-
VertxException
Create an instance given a cause- Parameters:
cause- the cause
-
VertxException
Create an instance given a message- Parameters:
message- the messagenoStackTrace- disable stack trace capture
-
VertxException
-
VertxException
Create an instance given a message- Parameters:
cause- the causenoStackTrace- disable stack trace capture
-
-
Method Details
-
noStackTrace
Create an exception that does not capture a stack trace.- Parameters:
msg- the message- Returns:
- the created exception
-
noStackTrace
Create an exception that does not capture a stack trace.- Parameters:
msg- the messagecause- the cause- Returns:
- the created exception
-
noStackTrace
Create an exception that does not capture a stack trace.- Parameters:
cause- the cause- Returns:
- the created exception
-