Class TokenErrorException

All Implemented Interfaces:
Serializable

public class TokenErrorException extends MediaWikiApiErrorException
Exception to indicate a MediaWiki API error caused by missing or invalid token.
Author:
Markus Kroetzsch
See Also:
  • Constructor Details

    • TokenErrorException

      public TokenErrorException(String errorCode, String errorMessage)
      Creates a new exception.
      Parameters:
      errorCode - the error code reported by MediaWiki
      errorMessage - the error message reported by MediaWiki, or any other meaningful message for the user