Class EditConflictErrorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.wikidata.wdtk.wikibaseapi.apierrors.MediaWikiApiErrorException
org.wikidata.wdtk.wikibaseapi.apierrors.EditConflictErrorException
- All Implemented Interfaces:
Serializable
Exception to indicate a MediaWiki API error caused by an edit conflict.
- Author:
- Markus Kroetzsch
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class org.wikidata.wdtk.wikibaseapi.apierrors.MediaWikiApiErrorException
getErrorCode, getErrorMessage
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
EditConflictErrorException
Creates a new exception.- Parameters:
errorMessage
- the error message reported by MediaWiki, or any other meaningful message for the user
-