Class ApiException

    • Constructor Detail

      • ApiException

        public ApiException​(String message)
        Create a new API Exception.
        Parameters:
        message - exception message
      • ApiException

        public ApiException​(String message,
                            Throwable cause)
        Create a new API Exception.
        Parameters:
        message - exception message
        cause - cause of the exception
      • ApiException

        public ApiException​(String message,
                            Integer status)
        Create a new API Exception.
        Parameters:
        message - exception message
        status - status code
      • ApiException

        public ApiException​(String message,
                            Integer code,
                            String moreInfo,
                            Integer status,
                            Throwable cause)
        Create a new API Exception.
        Parameters:
        message - exception message
        code - exception code
        moreInfo - more information if available
        status - status code
        cause - cause of the exception* @param cause
      • ApiException

        public ApiException​(RestException restException)
        Create a new API Exception.
        Parameters:
        restException - the rest exception