Class Error

java.lang.Object
com.cbe.delegate.Error
Direct Known Subclasses:
QueryError, TransferError

public class Error extends Object
Entity class containing the error information
  • Field Details

    • swigCMemOwn

      protected transient boolean swigCMemOwn
  • Constructor Details

    • Error

      public Error(long cPtr, boolean cMemoryOwn)
    • Error

      public Error()
      Conditional comment: Doxygen_Suppress
    • Error

      public Error(long errorCode, String reason, String message)
  • Method Details

    • getCPtr

      public static long getCPtr(Error obj)
    • finalize

      public void finalize()
      Overrides:
      finalize in class Object
    • delete

      public void delete()
    • setErrorCode

      public void setErrorCode(long value)
      Mimics the general error code encoding in the www.
      see [Wikipedia: List of HTTP status codes]
      (https://en.wikipedia.org/wiki/List_of_HTTP_status_codes)
    • getErrorCode

      public long getErrorCode()
      Mimics the general error code encoding in the www.
      see [Wikipedia: List of HTTP status codes]
      (https://en.wikipedia.org/wiki/List_of_HTTP_status_codes)
    • setReason

      public void setReason(String value)
      Human readable description of the reason for the failure.
    • getReason

      public String getReason()
      Human readable description of the reason for the failure.
    • setMessage

      public void setMessage(String value)
      Human readable additional information about the error.
    • getMessage

      public String getMessage()
      Human readable additional information about the error.
    • toString

      public String toString()
      Overrides:
      toString in class Object