Class NoSuchEntityErrorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.wikidata.wdtk.wikibaseapi.apierrors.MediaWikiApiErrorException
org.wikidata.wdtk.wikibaseapi.apierrors.NoSuchEntityErrorException
- All Implemented Interfaces:
Serializable
Exception to indicate a MediaWiki API error caused by trying to access an
entity that does not exist.
- 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
-
NoSuchEntityErrorException
Creates a new exception.- Parameters:
errorMessage
- the error message reported by MediaWiki, or any other meaningful message for the user
-