Class RepositoryModifiedException

All Implemented Interfaces:

public class RepositoryModifiedException
extends ProviderException
If the provider detects that someone has modified the repository externally, it should throw this exception.

Any provider throwing this exception should first clean up any references to the modified page it has, so that when we call this the next time, the page is handled as completely, and we don't get the same exception again.

See Also:
Serialized Form
  • Field Summary

    Modifier and Type Field Description
    protected java.lang.String m_page  
  • Constructor Summary

    Constructor Description
    RepositoryModifiedException​(java.lang.String msg, java.lang.String pageName)
    Constructs the exception.
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getPageName()
    Return the page name given in the constructor.

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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
  • Field Details

    • m_page

      protected final java.lang.String m_page
  • Constructor Details

    • RepositoryModifiedException

      public RepositoryModifiedException​(java.lang.String msg, java.lang.String pageName)
      Constructs the exception.
      msg - The message
      pageName - The name of the page which was modified
  • Method Details

    • getPageName

      public java.lang.String getPageName()
      Return the page name given in the constructor.
      The page name.