Class 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

public class VertxException extends RuntimeException
See Also:
  • Constructor Details

    • VertxException

      public VertxException(String message)
      Create an instance given a message
      Parameters:
      message - the message
    • VertxException

      public VertxException(String message, Throwable cause)
      Create an instance given a message and a cause
      Parameters:
      message - the message
      cause - the cause
    • VertxException

      public VertxException(Throwable cause)
      Create an instance given a cause
      Parameters:
      cause - the cause
    • VertxException

      public VertxException(String message, boolean noStackTrace)
      Create an instance given a message
      Parameters:
      message - the message
      noStackTrace - disable stack trace capture
    • VertxException

      public VertxException(String message, Throwable cause, boolean noStackTrace)
      Create an instance given a message
      Parameters:
      message - the message
      cause - the cause
      noStackTrace - disable stack trace capture
    • VertxException

      public VertxException(Throwable cause, boolean noStackTrace)
      Create an instance given a message
      Parameters:
      cause - the cause
      noStackTrace - disable stack trace capture
  • Method Details

    • noStackTrace

      public static VertxException noStackTrace(String msg)
      Create an exception that does not capture a stack trace.
      Parameters:
      msg - the message
      Returns:
      the created exception
    • noStackTrace

      public static VertxException noStackTrace(String msg, Throwable cause)
      Create an exception that does not capture a stack trace.
      Parameters:
      msg - the message
      cause - the cause
      Returns:
      the created exception
    • noStackTrace

      public static VertxException noStackTrace(Throwable cause)
      Create an exception that does not capture a stack trace.
      Parameters:
      cause - the cause
      Returns:
      the created exception