Package io.vertx.core

Class VertxException

    • Constructor Detail

      • 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 Detail

      • 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