proai.error
Class BadArgumentException

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
                      extended by proai.error.BadArgumentException
All Implemented Interfaces:
java.io.Serializable

public class BadArgumentException
extends ProtocolException

See Also:
Serialized Form

Constructor Summary
BadArgumentException()
           
BadArgumentException(java.lang.String message)
           
BadArgumentException(java.lang.String message, java.lang.Throwable cause)
           
 
Method Summary
 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

BadArgumentException

public BadArgumentException()

BadArgumentException

public BadArgumentException(java.lang.String message)

BadArgumentException

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

getCode

public java.lang.String getCode()
Description copied from class: ProtocolException
Get the error code of this exception, as defined by the OAI-PMH.

Specified by:
getCode in class ProtocolException