Class ConstructorException

java.lang.Object
java.lang.Throwable
java.lang.Exception
io.constructor.client.ConstructorException
All Implemented Interfaces:
Serializable

public class ConstructorException extends Exception
See Also:
  • Constructor Details

    • ConstructorException

      public ConstructorException(String msg)
    • ConstructorException

      public ConstructorException(Exception e)
    • ConstructorException

      public ConstructorException(String msg, Integer code)
  • Method Details

    • getErrorCode

      public Integer getErrorCode()
    • getHeaders

      public Map<String,List<String>> getHeaders()
      Returns:
      the HTTP response headers, or an empty map if not available
    • setHeaders

      public void setHeaders(Map<String,List<String>> headers)
      Parameters:
      headers - the HTTP response headers to set. If null, defaults to an empty map.