Package kubevirt

Class ApiException

  • All Implemented Interfaces:
    java.io.Serializable

    @Generated(value="io.swagger.codegen.languages.JavaClientCodegen",
               date="2019-11-10T14:44:51.030+02:00")
    public class ApiException
    extends java.lang.Exception
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int code  
      private java.lang.String responseBody  
      private java.util.Map<java.lang.String,​java.util.List<java.lang.String>> responseHeaders  
    • Constructor Summary

      Constructors 
      Constructor Description
      ApiException()  
      ApiException​(int code, java.lang.String message)  
      ApiException​(int code, java.lang.String message, java.util.Map<java.lang.String,​java.util.List<java.lang.String>> responseHeaders, java.lang.String responseBody)  
      ApiException​(int code, java.util.Map<java.lang.String,​java.util.List<java.lang.String>> responseHeaders, java.lang.String responseBody)  
      ApiException​(java.lang.String message)  
      ApiException​(java.lang.String message, int code, java.util.Map<java.lang.String,​java.util.List<java.lang.String>> responseHeaders, java.lang.String responseBody)  
      ApiException​(java.lang.String message, java.lang.Throwable throwable, int code, java.util.Map<java.lang.String,​java.util.List<java.lang.String>> responseHeaders)  
      ApiException​(java.lang.String message, java.lang.Throwable throwable, int code, java.util.Map<java.lang.String,​java.util.List<java.lang.String>> responseHeaders, java.lang.String responseBody)  
      ApiException​(java.lang.Throwable throwable)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getCode()
      Get the HTTP status code.
      java.lang.String getResponseBody()
      Get the HTTP response body.
      java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getResponseHeaders()
      Get the HTTP response headers.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • code

        private int code
      • responseHeaders

        private java.util.Map<java.lang.String,​java.util.List<java.lang.String>> responseHeaders
      • responseBody

        private java.lang.String responseBody
    • Constructor Detail

      • ApiException

        public ApiException()
      • ApiException

        public ApiException​(java.lang.Throwable throwable)
      • ApiException

        public ApiException​(java.lang.String message)
      • ApiException

        public ApiException​(java.lang.String message,
                            java.lang.Throwable throwable,
                            int code,
                            java.util.Map<java.lang.String,​java.util.List<java.lang.String>> responseHeaders,
                            java.lang.String responseBody)
      • ApiException

        public ApiException​(java.lang.String message,
                            int code,
                            java.util.Map<java.lang.String,​java.util.List<java.lang.String>> responseHeaders,
                            java.lang.String responseBody)
      • ApiException

        public ApiException​(java.lang.String message,
                            java.lang.Throwable throwable,
                            int code,
                            java.util.Map<java.lang.String,​java.util.List<java.lang.String>> responseHeaders)
      • ApiException

        public ApiException​(int code,
                            java.util.Map<java.lang.String,​java.util.List<java.lang.String>> responseHeaders,
                            java.lang.String responseBody)
      • ApiException

        public ApiException​(int code,
                            java.lang.String message)
      • ApiException

        public ApiException​(int code,
                            java.lang.String message,
                            java.util.Map<java.lang.String,​java.util.List<java.lang.String>> responseHeaders,
                            java.lang.String responseBody)
    • Method Detail

      • getCode

        public int getCode()
        Get the HTTP status code.
        Returns:
        HTTP status code
      • getResponseHeaders

        public java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getResponseHeaders()
        Get the HTTP response headers.
        Returns:
        A map of list of string
      • getResponseBody

        public java.lang.String getResponseBody()
        Get the HTTP response body.
        Returns:
        Response body in the form of string