MediaWiki  master
NameTableAccessException.php
Go to the documentation of this file.
1 <?php
23 namespace MediaWiki\Storage;
24 
25 use RuntimeException;
26 
32 class NameTableAccessException extends RuntimeException {
33 
40  public static function newFromDetails( $tableName, $accessType, $accessValue ) {
41  $message = "Failed to access name from ${tableName} using ${accessType} = ${accessValue}";
42  return new self( $message );
43  }
44 
45 }
MediaWiki\Storage\NameTableAccessException\newFromDetails
static newFromDetails( $tableName, $accessType, $accessValue)
Definition: NameTableAccessException.php:40
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:32