proai.error
Class ProtocolException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by proai.error.ServerException
                  extended by proai.error.ProtocolException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BadArgumentException, BadResumptionTokenException, BadVerbException, CannotDisseminateFormatException, IdDoesNotExistException, NoMetadataFormatsException, NoRecordsMatchException, NoSetHierarchyException

public abstract class ProtocolException
extends ServerException

See Also:
Serialized Form

Constructor Summary
ProtocolException(java.lang.String message)
           
ProtocolException(java.lang.String message, java.lang.Throwable cause)
           
 
Method Summary
abstract  java.lang.String getCode()
          Get the error code of this exception, as defined by the OAI-PMH.
 
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

ProtocolException

public ProtocolException(java.lang.String message)

ProtocolException

public ProtocolException(java.lang.String message,
                         java.lang.Throwable cause)
Method Detail

getCode

public abstract java.lang.String getCode()
Get the error code of this exception, as defined by the OAI-PMH.