org.fcrepo.oai
Class OAIException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.fcrepo.oai.OAIException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BadArgumentException, BadResumptionTokenException, BadVerbException, CannotDisseminateFormatException, IDDoesNotExistException, NoMetadataFormatsException, NoRecordsMatchException, NoSetHierarchyException

public abstract class OAIException
extends Exception

An exception occuring as a result of an OAI-PMH request.

Author:
Chris Wilper
See Also:
Serialized Form

Constructor Summary
protected OAIException(String code, String message)
           
 
Method Summary
 String getCode()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

protected OAIException(String code,
                       String message)
Method Detail

getCode

public String getCode()


Copyright © 2012 DuraSpace. All Rights Reserved.