Class OAIError

java.lang.Object
org.dlese.dpc.oai.OAIError

public class OAIError extends Object
An internal data structure that holds an individual OAI error code and a human-readable description that accompanies it.
Author:
John Weatherley
  • Constructor Details

    • OAIError

      public OAIError(String errorCode, String message)
      Constructor for the OAIError object
      Parameters:
      errorCode - The OAI ErrorCode for this error.
      message - A human-readable message that describes this error.
  • Method Details

    • getErrorCode

      public String getErrorCode()
      Gets the errorCode attribute of the OAIError object
      Returns:
      The errorCode value
    • getMessage

      public String getMessage()
      Gets the message attribute of the OAIError object
      Returns:
      The message value