Class OAIErrorException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.dlese.dpc.oai.harvester.OAIErrorException
All Implemented Interfaces:
Serializable

public class OAIErrorException extends Exception
Indicates an OAI protocol error code was returned by the data provider during a harvest.
Author:
John Weatherley
See Also:
  • Constructor Details

    • OAIErrorException

      public OAIErrorException(String errorCode, String errorMsg)
      Constructor for the OAIErrorException object
      Parameters:
      errorCode - The OAI error code.
      errorMsg - Description of the error.
  • Method Details

    • getOAIErrorCode

      public String getOAIErrorCode()
      Gets the oAIErrorCode attribute of the OAIErrorException object
      Returns:
      The oAIErrorCode value
    • getOAIErrorMessage

      public String getOAIErrorMessage()
      Gets the oAIErrorMessage attribute of the OAIErrorException object
      Returns:
      The oAIErrorMessage value