Class ClientException

    • Constructor Detail

      • ClientException

        public ClientException()
        Constructs a new exception with null as its detail message.
      • ClientException

        public ClientException​(String msg)
        Constructs a new exception with the specified detail message.
        Parameters:
        msg - the detail message.
      • ClientException

        public ClientException​(Throwable cause)
        Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()).
        Parameters:
        cause - the cause.
      • ClientException

        public ClientException​(String msg,
                               Throwable cause)
        Constructs a new exception with the specified detail message and cause.
        Parameters:
        msg - the detail message.
        cause - the cause.
      • ClientException

        public ClientException​(String msg,
                               Throwable cause,
                               boolean enableSuppression,
                               boolean writableStackTrace)
        Constructs a new exception with the specified detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.
        Parameters:
        msg - the detail message.
        cause - the cause.
        enableSuppression - whether or not suppression is enabled or disabled
        writableStackTrace - whether or not the stack trace should be writable