Package de.pangaea.metadataportal.harvester

## Class OAIException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - 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

    Constructors
    Constructor | Description
    --- | ---
    `OAIException​(String code, String message)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `getCode()` |
    `String` | `getMessage()` |

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, 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()