Package org.dlese.dpc.oai.harvester
Class OAIErrorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.dlese.dpc.oai.harvester.OAIErrorException
- All Implemented Interfaces:
Serializable
Indicates an
OAI protocol error code was returned by the data provider during a harvest.
- Author:
- John Weatherley
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionOAIErrorException(String errorCode, String errorMsg) Constructor for the OAIErrorException object -
Method Summary
Modifier and TypeMethodDescriptionGets the oAIErrorCode attribute of the OAIErrorException objectGets the oAIErrorMessage attribute of the OAIErrorException objectMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
OAIErrorException
Constructor for the OAIErrorException object- Parameters:
errorCode- The OAI error code.errorMsg- Description of the error.
-
-
Method Details
-
getOAIErrorCode
Gets the oAIErrorCode attribute of the OAIErrorException object- Returns:
- The oAIErrorCode value
-
getOAIErrorMessage
Gets the oAIErrorMessage attribute of the OAIErrorException object- Returns:
- The oAIErrorMessage value
-