de.pangaea.metadataportal.harvester
Class OAIException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by de.pangaea.metadataportal.harvester.OAIException
All Implemented Interfaces:
Serializable

public class OAIException
extends Exception

This exception is thrown on an OAI protocol error, which is triggered by an <error> response from the repository.

Author:
Uwe Schindler
See Also:
Serialized Form

Constructor Summary
OAIException(String code, String message)
           
 
Method Summary
 String getCode()
           
 String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OAIException

public OAIException(String code,
                    String message)
Method Detail

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

getCode

public String getCode()


Copyright ©2007-2011 panFMP Developers c/o Uwe Schindler