MediaWiki  master
NameTableAccessException.php
Go to the documentation of this file.
1 <?php
23 namespace MediaWiki\Storage;
24 
25 use RuntimeException;
26 
33 class NameTableAccessException extends RuntimeException {
34 
41  public static function newFromDetails( $tableName, $accessType, $accessValue ) {
42  $message = "Failed to access name from ${tableName} using ${accessType} = ${accessValue}";
43  return new self( $message );
44  }
45 
46 }
MediaWiki\Storage\NameTableAccessException\newFromDetails
static newFromDetails( $tableName, $accessType, $accessValue)
Definition: NameTableAccessException.php:41
MediaWiki\Storage
Definition: BlobAccessException.php:23
MediaWiki\Storage\NameTableAccessException
Exception representing a failure to look up a row from a name table.
Definition: NameTableAccessException.php:33