Class Error

java.lang.Object
com.cloudera.cdp.drscp.model.Error

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:26.550-07:00") public class Error extends Object
An object returned on an error.
  • Constructor Details

    • Error

      public Error()
  • Method Details

    • getCode

      public String getCode()
      Getter for code. The error code.
    • setCode

      public void setCode(String code)
      Setter for code. The error code.
    • getMessage

      public String getMessage()
      Getter for message. The error message.
    • setMessage

      public void setMessage(String message)
      Setter for message. The error message.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object